View source: R/exportedUtils.R
testNormalizationMethodByMarker | R Documentation |
This function tests different normalization methods on a marker in a
discovrExperiment
object. Its purpose is to facilitate selection of
the appropriate normalization method for markers where this is not
immediately apparent. It can be run on a set of markers and a set of
different normalization methods to be tested on each marker. Alternatively,
it can be run with a single warpSet normalization method and a set of
different random number seeds, to evaluate the effect of the random number
seed on the warpSet normalization results. The results can be examined for
appropriate distributions across samples, or plotted sequentially using
plotDensityNormalizedExprsDiscovrExperiment
testNormalizationMethodByMarker(
experiment,
markers,
normalizationMethod = c("none", "zScore", "warpSet"),
seed = 12345
)
experiment |
A discovrExperiment created using
|
markers |
a character vector indicating the markers on which to test normalization |
normalizationMethod |
(default: c("none", "zScore", "warpSet")) a
character vector with the normalization methods to be tested. All values
should be acceptable inputs for the argument 'normalizationMethod' in
|
seed |
(default: 12345) Numeric, the random number seed(s) for warpSet
normalization, passed to |
A reduced discovrExperiment
object (or named list of objects),
each containing only the marker listed, with normalized values in
experiment$mergedExprNormalizedScaled
. If markers
has length >
1, the function will return a named list, with each element containing a
discovrExperiment
object normalized using the given method.
Matthew J Dufort, mdufort@benaroyaresearch.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.