heatmapSCAtlasExperiment | R Documentation |
This function plots a heatmap from a SingleCellExperiment object coming from a Single-Cell Expression Atlas experiment.
heatmapSCAtlasExperiment( singleCellExperiment, genes=NULL, sel.K=NULL, scaleNormExp=FALSE, show_row_names=FALSE )
singleCellExperiment |
A |
genes |
Vector of gene IDs to include in the heatmap. If |
sel.K |
Number of clusters for Single Cell Expression Atlas Experiment. If |
scaleNormExp |
Logical indicating whether to scale normalized expression values, which adjusts the data to have a mean of zero and a standard deviation of one. Default is |
show_row_names |
Logical indicating whether to show gene names in rows. Default is |
A Heatmap-class object from the ComplexHeatmap package. This object can be further customized or combined with other heatmaps using the ComplexHeatmap package's functions.
egeod6552 <- getAtlasSCExperiment( "E-GEOD-36552" )
heatmap6552 <- heatmapSCAtlasExperiment( egeod6552, genes=NULL, sel.K=NULL, scaleNormExp=FALSE, show_row_names=FALSE )
# Example with a specific gene list
heatmap6552_genes <- heatmapSCAtlasExperiment( egeod6552, genes=c('ENSG00000151611','ENSG00000020577', 'ENSG00000188869' ), sel.K=NULL, scaleNormExp=FALSE, show_row_names=TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.