Get Row Dendrograms from a Heatmap

# S4 method for Heatmap
row_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 6.830941
ht = Heatmap(mat, row_km = 2) ht = draw(ht)
#> $`1` #> 'dendrogram' with 2 branches and 9 members total, at height 6.663858 #> #> $`2` #> 'dendrogram' leaf 'NULL', at height 0 #>