Skip to contents

Plot selected assay features as a heatmap

Usage

plot_assay_heatmap(
  x,
  experiment,
  assay,
  features,
  scale = c("row", "none"),
  cluster_rows = TRUE,
  cluster_columns = TRUE,
  column_split = NULL,
  feature_label = NULL
)

Arguments

x

A MultiAssayExperiment.

experiment

Experiment name.

assay

Assay name or index.

features

Explicit feature identifiers to plot.

scale

Standardize each feature row or retain assay values.

cluster_rows, cluster_columns

Reorder features or samples by hierarchical clustering. Dendrograms are not drawn.

column_split

Optional sample metadata column or complete sample-named vector used to split the x axis.

feature_label

Optional feature metadata column or complete feature-named labels. Duplicate display labels are made unique.

Value

An unprinted standard ggplot object carrying recommended physical dimensions for plot_save().