gene_deviations | R Documentation |
Compute deviations of gene expression for reference levels.
gene_deviations(expr, reference_levels)
expr |
The expression matrix. |
reference_levels |
A vector with a reference level for each gene. |
A table of deviations, with columns sample
and
deviation
.
library(airway)
data(airway)
counts <- assays(airway)$counts
m <- gene_medians(counts)
gene_deviations(counts, m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.