Description Usage Arguments Value Author(s) See Also
View source: R/srcLineagePulse_fitDropout.R
Log likelihood of zero inflated negative binomial model. This function is designed to allow numerical optimisation of logistic drop-out paramater model on multiple cells given the negative binomial mean and dispersion parameters. This function is optimised for memory usage vs evalLogLikPiZINB_SingleCell at the cost of computation time: The parameter models are not kept as a gene x cell matrix but as the raw model objects which are evaluated within the cost function.
1 2 | evalLogLikPiZINB_ManyCells(vecTheta, matCounts, lsMuModel, lsDispModel,
lsDropModel)
|
vecTheta |
(numeric vector length linear model) Parameter estimates for logit linear model for drop-out rate. |
matCounts |
(count matrix genes x cells) Observed read counts, not observed are NA. |
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. |
scaLogLik (scalar) Value of cost function: zero-inflated negative binomial likelihood.
David Sebastian Fischer
Called by fitting wrapper: fitPi_ManyCells
.
Calls evalLogLikMatrix
.
Compiled version: evalLogLikPiZINB_ManyCells_comp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.