Learn R Programming

ComplexHeatmap (version 1.10.2)

column_dend-HeatmapList-method: Get column dendrograms from a heatmap list

Description

Get column dendrograms from a heatmap list

Usage

## S3 method for class 'HeatmapList':
column_dend(object)

Arguments

object

Value

  • A list of dendrograms for which dendrogram corresponds to each matrix

Examples

Run this code
mat = matrix(rnorm(100), 10)
ht_list = Heatmap(mat) + Heatmap(mat)
column_dend(ht_list)
ht_list = Heatmap(mat, km = 2) + Heatmap(mat)
column_dend(ht_list)

Run the code above in your browser using DataLab