Learn R Programming

visxhclust (version 1.1.0)

plot_cluster_heatmaps: 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
)

Value

two concatenated heatmaps drawn with ComplexHeatmap::draw

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