R/splat-estimate.R
splatEstBCV.Rd
Parameters are estimated using the estimateDisp
function
in the edgeR
package.
splatEstBCV(counts, params)
counts | counts matrix to estimate parameters from. |
---|---|
params | SplatParams object to store estimated values in. |
SplatParams object with estimated values.
The estimateDisp
function is used to estimate the common
dispersion and prior degrees of freedom. See
estimateDisp
for details. When estimating parameters on
simulated data we found a broadly linear relationship between the true
underlying common dispersion and the edgR
estimate, therefore we
apply a small correction, disp = 0.1 + 0.25 * edgeR.disp
.