plot_heatmap: plot_heatmap

View source: R/plot.R

plot_heatmapR Documentation

plot_heatmap

Description

plot_heatmap

Usage

plot_heatmap(x, ...)

## S3 method for class 'Seurat'
plot_heatmap(
  x,
  assay = NULL,
  slot = "data",
  scale = TRUE,
  top_ann = NULL,
  top_ann_col = NULL,
  ...
)

## S3 method for class 'SingleCellExperiment'
plot_heatmap(x, assay = "logcounts", top_ann = NULL, top_ann_col = NULL, ...)

## S3 method for class 'matrix'
plot_heatmap(
  x,
  scale = TRUE,
  show_column_names = FALSE,
  name = "expression",
  ...
)

Arguments

x

object to plot.

...

arguments passed down to ComplexHeatmap::Heatmap.

assay

assay name for Seurat and SingleCellExperiment objects.

slot

slot name for Seurat objects.

scale

whether to scale data data.

top_ann

names of columns to be used as top annotations.

top_ann_col

color definition for the categories in the top annotations.

show_column_names

whether to show column names (default: FALSE).

name

name for the main legend.


ddiez/scmisc documentation built on July 21, 2024, 11:35 a.m.