View source: R/proportionality.R
naiveVariation | R Documentation |
Naive (empirical) estimates of proportionality metrics using only the observed counts.
naiveVariation(
counts,
pseudo.count = 0,
type = c("standard", "phi", "phis", "rho", "logp"),
impute.zeros = TRUE,
...
)
counts |
Matrix of counts; samples are rows and features are columns |
pseudo.count |
Positive count to be added to all elements of count matrix. |
type |
Type of variation metric to be calculated: |
impute.zeros |
If TRUE, then |
... |
Optional arguments passed to zero-imputation function |
An estimate of the requested metric of proportionality.
#' data(singlecell)
naiveVariation(singlecell)
naiveVariation(singlecell, type="phi")
naiveVariation(singlecell, type="rho")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.