Learn R Programming

ComplexHeatmap (version 1.10.2)

column_dend-Heatmap-method: Get column dendrograms from a heatmap

Description

Get column dendrograms from a heatmap

Usage

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

Arguments

object
a Heatmap-class object

Value

  • A dendrogram object

Examples

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

Run the code above in your browser using DataLab