calcRP: calcRP

Description Usage Arguments Value References

View source: R/Single_Cell_Simu.R

Description

Calculate parameter R and P in NB distribution

Usage

1
calcRP(Emean, Evar)

Arguments

Emean

Empirical mean

Evar

Empirical variance

Value

RP Vector of two elements, first contains method of moments estimator for r and second contains method of moments estimator for p (parameters of NB distribution)

References

Korthauer KD, Chu LF, Newton MA, Li Y, Thomson J, Stewart R, Kendziorski C. A statistical approach for identifying differential distributions in single-cell RNA-seq experiments. Genome Biology. 2016 Oct 25;17(1):222. https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-1077-y


scDD documentation built on Nov. 8, 2020, 7:10 p.m.