evalLogLikGeneMM: Wrapper for log likelihood of zero-inflated negative binomial...

Description Usage Arguments Value Author(s)

View source: R/srcLineagePulse_evalLogLik.R

Description

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.

Usage

1
2
evalLogLikGeneMM(vecCounts, matMuParam, vecNormConst, vecDisp, vecPi,
  vecidxNotZero, vecidxZero, scaNCells)

Arguments

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

Value

NULL This will be: scaLogLik (scalar) Likelihood under zero-inflated negative binomial model.

Author(s)

David Sebastian Fischer


LineagePulse documentation built on Nov. 8, 2020, 7:01 p.m.