calcRP: calcRP

View source: R/Single_Cell_Simu.R

calcRPR Documentation

calcRP

Description

Calculate parameter R and P in NB distribution

Usage

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


kdkorthauer/scDD documentation built on March 27, 2022, 5:11 a.m.