plotScreen {splots} | R Documentation |
plotScreen
produces a false-color representation of screening
data from multiple plates (typical use case: dozens of plates)
in a single plot.
plotScreen(z, ncol = 6L, dataSlot, zrange, main = "", do.names = TRUE, do.legend = FALSE, nx = 24L, ny = 16L, fill = c("blue", "white", "red"), abris = "#333333", na.fill = "grey")
z |
A list of plate data. Each element provides data for a
single plate and is expected to be a vector of length at least nx*ny ,
(only the first nx*ny elements will be displayed).
The values are assumed to come in row-by-row order. The elements of
z can also be data.frames or lists, see the argument dataSlot . |
ncol |
Integer of length 1. Number of columns (plates in one row) for the plot. |
dataSlot |
Character of length 1. This can be convenient if elements of z are of class
data.frame or list themselves. If dataSlot is not missing,
lapply(z, "[[", dataSlot) is used. |
zrange |
The numeric range that is mapped to the color scale. If missing,
the range of the data in z is used. |
main |
Character of length 1, the plot title. |
do.names |
A boolean flag specifiying if plate captions should be plotted. |
do.legend |
A boolean flag specifying if a legend for false color values should be output. This is currently not implemented. |
nx |
An integer for the number of columns in a plate. Default 24 for a 384-well plate. |
ny |
An integer for the number of rows in a plate. Default 16 for a 384-well plate. |
fill |
A character vector of colors to create a color ramp for the false color data representation. At least two colors must be specified. The default color correspond to blue for low values, white for the middle of the range and red for high values. |
abris |
A character value for the color of the plate outline. |
na.fill |
Color for NA values. |
invisible(NULL)
Oleg Sklyar osklyar@ebi.ac.uk
The initial idea of the function goes to Ligia Bras, the author of the 'cellHTS' package.
data("splots.screen") plotScreen(screen, ncol=3, main="splots example")