dispersion {DSS} | R Documentation |
Dispersion parameter for a gene represents its coefficient of variation of expressions. It characterizes the biological variations.
## S4 method for signature 'SeqCountSet' dispersion(object) ## S4 replacement method for signature 'SeqCountSet,numeric' dispersion(object) <- value
object |
A SeqCountData object. |
value |
A numeric vector with the same length as number of genes. |
If the counts from biological replicates are modeled as negative binomial distribution, the variance (v) and mean (m) should hold following relationship: v=m+m^2*phi, where phi is the dispersion. Another interpretation is that phi represents the biological variations among replicates when underlying expressions are modeled as a Gamma distribution.
Hao Wu <hao.wu@emory.edu>
normalizationFactor
data(seqData) ## obtain seqData=estNormFactors(seqData, "quantile") seqData=estDispersion(seqData) dispersion(seqData) ## assign dispersion(seqData)=rep(0.1, nrow(exprs(seqData)))