fit | R Documentation |
Fit a negative binomial (NB) distribution to the counts per gene over all samples using, if available, the precomputed control factors. If no normalization factors are provided only the sizeFactors are used.
## S3 method for class 'OutriderDataSet'
fit(object, BPPARAM = bpparam(), ...)
object |
An OutriderDataSet |
BPPARAM |
by default bpparam() |
... |
Currently not used. |
An OutriderDataSet object with the fitted model. Accessible through:
mcols(ods)[,c('mu', 'theta')]
.
ods <- makeExampleOutriderDataSet()
ods <- estimateSizeFactors(ods)
ods <- fit(ods)
mcols(ods)[1:10,c('mu', 'theta')]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.