evalLogLikGeneMM {LineagePulse} | R Documentation |
NOT YET SUPPORTED. LINEAGEPULSE CODE WILL BE EXTENDED BY MODULAR FUNCTIONALITIES AND THIS IS ONE INSTANCE OF A PLACEHOLDER USED FOR DEVELOPING. Chooses whether to evaluate ZINB or NB model based on input.
evalLogLikGeneMM(vecCounts, matMuParam, vecNormConst, vecDisp, vecPi, vecidxNotZero, vecidxZero, scaNCells)
vecCounts |
(count vector number of cells) Observed read counts, not observed are NA. |
matMuParam |
(numeric matrix number of cells x number of mixtures) Negative binomial mean parameter matrix with one mean per cell and per mixture. |
vecNormConst |
(numeric vector number of cells) Model scaling factors, one per cell. |
vecDisp |
(numeric vector number of cells) Negative binomial dispersion parameters. |
vecPi |
(probability vector number of cells) Drop-out rate estimates. Set to NULL to evaluate NB model. |
vecidxNotZero |
(bool vector number of cells) Whether observation is larger than zero. |
vecidxZero |
(bool vector number of cells) Whether observation is zero. |
scaNCells |
(scalar) Number of cells (auxillary parameter, this is length of vecCounts). |
NULL This will be: scaLogLik (scalar) Likelihood under zero-inflated negative binomial model.
David Sebastian Fischer