plot_cluster_heatmaps: Draw two heatmaps

View source: R/plot_heatmaps.R

plot_cluster_heatmapsR Documentation

Draw two heatmaps

Description

Draw two heatmaps

Usage

plot_cluster_heatmaps(
  top_matrix,
  bottom_matrix,
  dendrograms,
  clusters_set,
  annotation = NULL,
  scaled = FALSE,
  distance_method = NULL,
  cluster_features = TRUE,
  show_col_names = TRUE
)

Arguments

top_matrix

matrix with selected variables

bottom_matrix

matrix with unselected variables

dendrograms

to draw above top matrix

clusters_set

list of cluster indices

annotation

(optional) any kind of annotation object to draw as top_annotation

scaled

(optional) boolean to modify colour scale if data has already been scaled

distance_method

(optional) if "Binary", use discrete colors for heatmap

cluster_features

(optional) If FALSE, row order does not change

show_col_names

(optional) If FALSE, does not show column names at base of heatmap

Value

two concatenated heatmaps drawn with ComplexHeatmap::draw


visxhclust documentation built on March 31, 2023, 7:30 p.m.