Get Column Dendrograms from a Heatmap

# S4 method for Heatmap
column_dend(object)

Arguments

object

A Heatmap-class object.

Value

The format of the returned object depends on whether rows/columns of the heatmaps are split.

Examples

mat = matrix(rnorm(100), 10) ht = Heatmap(mat) ht = draw(ht)
#> 'dendrogram' with 2 branches and 10 members total, at height 5.908676
ht = Heatmap(mat, column_km = 2) ht = draw(ht)
#> $`1` #> 'dendrogram' with 2 branches and 6 members total, at height 5.321337 #> #> $`2` #> 'dendrogram' with 2 branches and 4 members total, at height 4.697145 #>