sizeFactors | R Documentation |
Accessor functions for the 'sizeFactors' information in a OutriderDataSet object.
## S4 method for signature 'OutriderDataSet'
sizeFactors(object)
## S4 replacement method for signature 'OutriderDataSet,numeric'
sizeFactors(object) <- value
## S4 replacement method for signature 'OutriderDataSet,'NULL''
sizeFactors(object) <- value
## S4 method for signature 'OutriderDataSet'
estimateSizeFactors(object)
object |
OutriderDataSet |
value |
A numberic vector of sizeFactors |
The estimation of the size factors can also make use of the existing log geometric means in the object. Those can be loaded from an existing model.
An OutriderDatasSet with the estimated sizeFactors, or with the getter function it returns a numeric vector containing the sizeFactors.
estimateSizeFactors
ods <- makeExampleOutriderDataSet()
ods <- estimateSizeFactors(ods)
head(sizeFactors(ods))
sizeFactors(ods) <- runif(dim(ods)[2], 0.5, 1.5)
sizeFactors(ods)
counts(ods, normalized=TRUE)[1:10,1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.