Description Usage Arguments Value Examples
This function generates a heatmap or a series of heatmaps showing the plate layout, raw intensity or normalized intensity for each plate in the screen dataset.
1 2 3 4 5 6 7 8 9 10 11 12 |
screenData |
a data frame containing screen data generated by |
plotPlate |
a character string or a vector of character strings specifying the file name of the plates. If all plates should be included, 'all' can be used. Default value is 'all' |
plotType |
a character string specifying the type of the plot, one of 'layout', 'zscore' and 'viability'.
If 'layout' is specified, the plate layout will be plotted in a heatmap according to the information in the 'wellType' column.
If 'zscore' is chosen, the zscore of each well on a plate will be plotted in the heatmaps.
If 'viability' is used, the normalized intensity or viability values on each plate will be plotted.
This choice is only valid when plate normalization is performed by |
ifCorrected |
a logical value, whether to plot values after edge effect correction. The default value is FALSE, plot the original value. |
limits |
a numeric vector indicates the lower and upper limits of the value shown in the heatmap.
The default values is |
pdfName |
a character string specifying the output pdf file name. If not specified, a list containing the ggplot objects of plate plots will be returned. Default is NULL. |
ncol |
the number of columns in a pdf page. Default number is 2. |
nrow |
the number of rows in a pdf page. Default number is 3. |
width |
the width of the page, in points |
height |
the height of the page, in points |
If the argument pdfName = NULL
, this function returns a list of ggplot objects and each object is a heatmap for each plate. If a file name is specified \
for the pdfName
argument, a pdf file with the specified name and layout will be created in the working directory.
1 2 3 4 5 6 | # load processed data
data('screenData_normalized')
# plot the cell viability heatmap on all plates
plotPlate(screenData_normalized, plotPlate = 'all', plotType = 'viability')
# Please see the vignette for more information.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.