| estimateDispersions_BM {DEXSeq} | R Documentation |
This function estimates for each counting bin
of the ExonCountSet object a dispersion value. It stores
these values in fData(ecs)$dispersionBeforeSharing.
estimateDispersions_BM( object,
formula=count ~ sample + condition * exon,
initialGuess=.01, nCores=1, minCount=10,
maxExon=70, quiet=FALSE, file="")
object |
An ExonCountSet object. |
formula |
Formula used in the GLM to estimate the dispersion values.
The terms in the formula must be design
columns of the ExonCountSet object, the l.h.s. must be |
initialGuess |
An initial guess for the dispersion values to initiate the optimization. |
nCores |
Number of cores to be used to estimate the dispersions.
The |
minCount |
Counting bins with less than |
maxExon |
Genes with more than |
quiet |
If |
file |
A file name to write the progress reports. If |
For the dispersion estimation, we use the Cox-Reid conditional maximum
likelihood method of Gordon Smyth et al., which they devised for the edgeR
package.
An object of class ExonCountSet with dispersion featureData(object)$dispersion_CR_est)
parameters filled).
if(suppressWarnings(require("pasilla", quietly=TRUE, character.only=TRUE))){
data("pasillaExons", package="pasilla")
pasillaExons <- estimateSizeFactors( pasillaExons )
pasillaExons <- estimateDispersions( pasillaExons )
}