Skip to contents

Generate a heatmap

Usage

plot_heatmap(x, group_by, assay = "logcounts", out_dir = NULL)

Arguments

x

A SpatialExperiment object.

group_by

Column metadata field(s) to group by.

assay

A character string indicating which expression values should be used.

out_dir

Name of the output analysis directory. If specified, the plots will be saved there.

Value

A Heatmap object.