Learn R Programming

ComplexHeatmap (version 1.10.2)

row_dend-HeatmapList-method: Get row dendrograms from a heatmap list

Description

Get row dendrograms from a heatmap list

Usage

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

Arguments

object

Value

  • A list of dendrograms for which each dendrogram corresponds to a row slice

Examples

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

Run the code above in your browser using DataLab