row_dend-HeatmapList-method {ComplexHeatmap} | R Documentation

## Get Row Dendrograms from a Heatmap List

### Description

Get Row Dendrograms from a Heatmap List

### Usage

    ## S4 method for signature 'HeatmapList'
    row_dend(object, name = NULL)

### Arguments

`object` | A `HeatmapList-class` object.
`name` | Name of a specific heatmap.

### Value

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

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    mat = matrix(rnorm(100), 10)
    ht_list = Heatmap(mat) + Heatmap(mat)
    ht_list = draw(ht_list)
    row_dend(ht_list)
    ht_list = Heatmap(mat, row_km = 2) + Heatmap(mat)
    ht_list = draw(ht_list)
    row_dend(ht_list)
    ht_list = Heatmap(mat, row_km = 2) %v% Heatmap(mat)
    ht_list = draw(ht_list)
    row_dend(ht_list)

[Package ComplexHeatmap version 2.2.0 Index]