Description Usage Arguments Value Author(s)
View source: R/srcLineagePulse_evalLogLik.R
This liklihood function is appropriate for sequencing data without drop outs. This is the core function used for every likelihood evaluation in LineagePulse, such as maximum likelihood-based estimation. It operates on a vector of counts, such as observations of a gene. Note that for the sake of numerical stability, lower bounds on loglikelihood terms are implemented.
1 | evalLogLikNB(vecCounts, vecMu, vecDisp, vecidxNotZero, vecidxZero)
|
vecCounts |
(count vector number of samples) Observed read counts, not observed are NA. |
vecMu |
(vector number of samples) Negative binomial mean parameter. |
vecDisp |
(scalar vector number of samples) Negative binomial dispersion parameters. |
vecidxNotZero |
(bool vector number of samples) Whether observation is larger than zero. |
vecidxZero |
(bool vector number of samples) Whether observation is zero. |
scaLogLik (scalar) Likelihood under zero-inflated negative binomial model.
David Sebastian Fischer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.