Title: | Visualization of high-throughput assays in microtitre plate or slide format |
---|---|
Description: | This package is here to support legacy usages of it, but it should not be used for new code development. It provides a single function, plotScreen, for visualising data in microtitre plate or slide format. As a better alternative for such functionality, please consider the platetools package on CRAN (https://cran.r-project.org/package=platetools and https://github.com/Swarchal/platetools), or ggplot2 (geom_raster, facet_wrap) as exemplified in the vignette of this package. |
Authors: | Wolfgang Huber, Oleg Sklyar |
Maintainer: | Wolfgang Huber <[email protected]> |
License: | LGPL |
Version: | 1.73.0 |
Built: | 2024-11-30 04:51:06 UTC |
Source: | https://github.com/bioc/splots |
This function is obsolete, please use ggplot
with geom_raster
and
facet_wrap
instead, as described in the vignette of the splots
package.
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, zrange, main = "", do.names = TRUE, do.legend = TRUE, legend.label = deparse(substitute(z)), nx = 24, ny = 16, fill, na.fill = "grey" , do.grid.newpage = TRUE)
plotScreen(z, ncol = 6L, zrange, main = "", do.names = TRUE, do.legend = TRUE, legend.label = deparse(substitute(z)), nx = 24, ny = 16, fill, na.fill = "grey" , do.grid.newpage = TRUE)
z |
A list of plate data.
Each element provides data for a plate and is expected to be a
vector of length at least |
ncol |
Integer of length 1. Number of columns (plates in one row) for the plot. |
zrange |
If the elements of |
fill |
If the elements of |
main |
Character of length 1 or plotmath expression used for the plot title. To omit, set
this argument to length 0, to the empty character |
do.names |
Logical specifiying if plate captions should be plotted. |
do.legend |
Logical specifying if a legend for false color values should be output. |
legend.label |
Character of length 1 or plotmath expression that is printed
next to the legend (see vignette for examples). To omit, set
this argument to length 0, to the empty character |
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. |
na.fill |
Color for NA values. |
do.grid.newpage |
Logical, if |
None. The function is called for its side effect.
Wolfgang Huber, based on an earlier version by Oleg Sklyar.
screen = lapply(1:12, function(i) cumsum(rnorm(384))) plotScreen(screen, ncol=3, fill=c("white", "darkblue"))
screen = lapply(1:12, function(i) cumsum(rnorm(384))) plotScreen(screen, ncol=3, fill=c("white", "darkblue"))