plot_expression_heatmap: plot_expression_heatmap

View source: R/visualization_functions.R

plot_expression_heatmapR Documentation

plot_expression_heatmap

Description

plot_expression_heatmap

Usage

plot_expression_heatmap(sce, celltype.id = "celltype", genes, value.type)

Arguments

sce

SingleCellExperiment object containing gene counts matrix (stored in 'logcounts' assay).

celltype.id

Character specifying which field in colData(sce) should be used as celltype. Default celltype.id="celltype".

genes

Character vector containing gene names.

value.type

String specifying whether to plot average expression (= "mean") or fraction of cells with non-zero counts(= "frac").

Value

Heatmap with average across (per gene/per celltype)


MarioniLab/geneBasisR documentation built on June 30, 2023, 2:04 p.m.