evalLogLikGene: Wrapper for log likelihood of (zero-inflated) negative...

Description Usage Arguments Value Author(s)

Description

Chooses whether to evaluate ZINB or NB model based on input.

Usage

1
2
evalLogLikGene(vecCounts, vecMu, vecNormConst, vecDisp, vecPi, vecidxNotZero,
  vecidxZero)

Arguments

vecCounts

(count vector number of cells) Observed read counts, not observed are NA.

vecMu

(numeric vector number of cells) Negative binomial mean parameter.

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 likelihood.

vecidxNotZero

(bool vector number of cells) Whether observation is larger than zero.

vecidxZero

(bool vector number of cells) Whether observation is zero.

Value

scaLogLik (scalar) Likelihood under zero-inflated negative binomial model.

Author(s)

David Sebastian Fischer


YosefLab/LineagePulse documentation built on May 6, 2019, 2:19 p.m.