View source: R/scAI_plotting.R
generate a heatmap for the expression of differential features across different cell groups
1 2 3 | featureHeatmap(object, assay, feature.use, group.by, color.use = NULL,
use.agg = TRUE, rescaling = TRUE, names.show = TRUE,
size.names = 8)
|
object |
scAI object |
assay |
define an assay to show, e.g., assay = "RNA" |
feature.use |
a vector of features to show |
group.by |
the name of the variable in pData, defining cell groups. cells are grouped together |
color.use |
colors for the cell clusters |
use.agg |
whether use aggregated data |
rescaling |
whether rescale each feature across all the cells |
names.show |
whether show the feature names |
size.names |
the font size of the feature names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.