grid.doublePerturbation {RNAinteract} | R Documentation |
These functions create a double perturbation grob for interaction screens. All interactions of one gene are displayed in one panel. The double perturbation readout level is plotted against the single perturbation level.
doublePerturbationGrob( mainEffect, dpEffect, mainEffectTarget, range=NULL, main=NULL, xlab=NULL, ylab=NULL, text=NULL, avoid.overlap=TRUE, axisOnOrigin = FALSE, drawBox = TRUE, pch = 21, size=unit(1, "char"), fill = NULL, gpMain = gpar(lty="dashed", lwd=3, col="cyan"), gpNI = gpar(lty="dashed", lwd=3, col="orange"), gpPoints = gpar(pch=21), gpText = NULL, gpAxis = NULL, gpWTLines=NULL, name=NULL, gp=NULL, vp=NULL ) grid.doublePerturbation(..., draw = TRUE) # a helper function for doublePerturbationGrob: postDrawDetails.doublePerturbation(x, recording)
mainEffect |
A numeric vector of main effects. |
dpEffect |
A numeric vector of double perturbation effects. |
mainEffectTarget |
The main effect of the target gene (A single numeric value). |
range |
The range of the plot. Equals the |
main |
An overall title of the plot. |
xlab |
A title of the x-axis. |
ylab |
A title of the y-axis. |
text |
A character vector of text. Has to have the same length as |
avoid.overlap |
If |
axisOnOrigin |
If |
drawBox |
If |
pch |
Either an integer specifying a symbol or a single character to be used in plotting points. See |
size |
A unit object specifying the size of the plotting symbols. |
fill |
A list containing (some of) the following elements:
|
gp |
An object of class |
gpMain,gpNI |
An object of class |
gpPoints,gpText,gpAxis,gpWTLines |
An object of class |
name |
A character identifier. |
vp |
A Grid viewport object (or NULL). |
draw |
If |
... |
Further arguments passed to |
x, recording |
Internal usage only. |
This function creates a grob for a double perturbation plot. It is probably more convenient to use the function plotDoublePerturbation
.
A grob is returned.
Bernd Fischer
RNAinteract-package
, plotDoublePerturbation
, reportDoublePerturbation