Description Usage Arguments Value Author(s) See Also
View source: R/srcLineagePulse_fitMeanDispersion.R
Auxillary function that calls the estimation functions for the different mean and dispersion models according to their needs. Note that one function has to be coded for each combination of mean and dispersion models.
1 2 | fitMuDisp(matCountsProc, vecNormConst, lsMuModel, lsDispModel, lsDropModel,
matWeights)
|
matCountsProc |
(matrix genes x cells) Observed read counts, not observed are NA. |
vecNormConst |
(numeric vector number of cells) Model scaling factors, one per cell. |
lsMuModel |
(list) Object containing description of gene-wise mean parameter models. |
lsDispModel |
(list) Object containing description of gene-wise dispersion parameter models. |
lsDropModel |
(list) Object containing description of cell-wise drop-out parameter models. |
matWeights |
(numeric matrix cells x mixtures) [Default NULL] Assignments of cells to mixtures (for strMuModel="MM"). |
list
matMuModel (numeric matrix genes x mu model parameters) Contains the mean model parameters according to the used model.
lsmatBatchModelMu (list) Fit of batch correction models for mean parameter.
matDispModel (numeric matrix genes x disp model parameters) Contains the dispersion model parameters according to the used model.
lsmatBatchModelDisp (list) Fit of batch correction models for dispersion parameter.
vecConvergence (numeric vector number of genes) Convergence status of optim for each gene.
vecLL (numeric vector number of genes) Likelihood of model fit.
David Sebastian Fischer
Called by fitModel
. Calls fitting wrappers:
fitImpulseZINB
,
fitContinuousZINB
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.