plotTypeDist: Plotting raw signal distribution for each well type

Description Usage Arguments Value Examples

View source: R/plotTypeDist.R

Description

A function to generate box plots to show the raw signal distribution for each well type on all or selected plates. For this function to work, the "wellType" column must be present in the data frame.

Usage

1
plotTypeDist(screenData, plotPlate = "all", ifLog10 = FALSE, pdfName = NULL)

Arguments

screenData

a data frame containing the screen data generated by readScreen() function

plotPlate

a character string or a vector of character strings specifying the file name of the plates to be included in the plots. If all plates should be included, 'all' can be used. The default value is 'all'.

ifLog10

a logical value, whether to perform a log10 transformation on the values.

pdfName

a character string specifying the output pdf file name. If not specified, a list containing the ggplot objects will be returned. Default is NULL.

Value

If the argument pdfName = NULL, this function returns a list of ggplot objects. If a file name is specified \ for the pdfName argument, a pdf file that contains the plots will be created in the working directory.

Examples

1
2
3
4
5
6
# load processed data
data('screenData')

# plot raw ATP count distribution for each well type
plotTypeDist(screenData)
# Please see the vignette for more information.

lujunyan1118/DrugScreenExplorer_dev documentation built on Dec. 21, 2021, 12:42 p.m.