Estimate Biological Coefficient of Variation (BCV) parameters for the Kersplat simulation
kersplatEstBCV(counts, params, verbose)
counts | counts matrix. |
---|---|
params | KersplatParams object to store estimated values in. |
verbose | logical. Whether to print progress messages |
KersplatParams object with estimated BCV parameters
The estimateDisp
function is used to estimate the common
dispersion across the dataset. An exponential correction is applied based on
fitting an exponential relationship between simulated and estimated values.
If this results in a negative dispersion a simpler linear correction is
applied instead.