Description Usage Arguments Value Examples
View source: R/calculate-expression.R
Calculate count-per-million (CPM) values from the count data.
1 | calculateCPM(object, use.size.factors = TRUE)
|
object |
an |
use.size.factors |
a logical scalar specifying whether the size factors should be used to construct effective library sizes, or if the library size should be directly defined as the sum of counts for each cell. |
Matrix of CPM values.
1 2 3 4 | data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
cpm(example_sceset) <- calculateCPM(example_sceset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.