calcPostDrop_Vector: Calculate posterior of drop-out

Description Usage Arguments Value Author(s) See Also

View source: R/srcLineagePulse_calcPostDrop.R

Description

Calculates posterior of observation being a drop-out for a vector.

Usage

1
calcPostDrop_Vector(vecMu, vecDisp, vecDrop, vecboolZero, vecboolNotZero)

Arguments

vecMu

(numeric vector samples) Negative binomial mean parameters of samples.

vecDisp

(numeric vector samples) Negative binomial mean parameters of samples.

vecDrop

(numeric vector samples) Drop out rates of samples.

vecboolZero

(bool vector samples) Whether observation is zero.

vecboolNotZero

(bool vector samples) Whether observation is real and non-zero.

Value

vecZ (numeric vector samples) Posterior probability of observation not being generated by drop-out.

Author(s)

David Sebastian Fischer

See Also

For matrices calcPostDrop_Matrix.


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