View source: R/exportedUtils.R
plotDensityNormalizedExprsDiscovrExperiment | R Documentation |
This function generates a set of density plots of the pre- and
post-normalization expression values from a discovrExperiment object. If
the object has status "normalized" or "metaclustered", the normalized values
will be used. If the object has status "clustered", normalization will be
attempted using information provided, passed to
normalizeDiscovrExperiment
. The function returns a list of plots as
ggplot2 objects, and can optionally output plots to a single file containing
a separate page for each marker. The purpose of this function is to evaluate
potential normalization methods for each marker, based on distributions of
the marker levels before and after normalization.
plotDensityNormalizedExprsDiscovrExperiment(
experiment,
clusteringMarkersOnly = TRUE,
normalizationInfo = NULL,
filenameOut = NULL,
width = 12,
height = 6,
...
)
experiment |
A discovrExperiment created using
|
clusteringMarkersOnly |
(default: NULL) |
normalizationInfo |
(default: NULL) Optional object containing
information on how to normalize, passed to |
filenameOut |
(default: NULL) Path for outputing a file with plots. If null, no file is generated. The extension is used to determine plot type, which can be "pdf", "png", or "svg". |
width |
(default: 12) Numeric, width of output plot device in inches |
height |
(default: 6) Numeric, height of output plot device in inches |
... |
optional arguments passed to |
A list of ggplot objects, one for each marker. Plots will be output
to file if filenameOut is specified. To suppress output to the default
plotting device, assign the result to an object, or run the function with
invisible()
Matthew J Dufort, mdufort@benaroyaresearch.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.