View source: R/differential_expression.R
calc.cdr | R Documentation |
Given a feature X cell table of raw counts, calculate the cellular detection rate for each cell. The cellular detection rate of a cell is a number between 0 and 1 representing the fraction of the total number of features measured that have a count > 0 in that cell. It is useful as a covariate in differential expression analyses.
calc.cdr(counts)
counts |
A feature X cell table of raw counts. |
A vector of cellular detection rate per cell
cdr <- calc.cdr(seurat@assays$RNA@counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.