calcRP {scDD} | R 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

[Package scDD version 1.12.0 Index]