row_dend-Heatmap-method: Get Row Dendrograms from a Heatmap

row_dend-Heatmap-methodR Documentation

Get Row Dendrograms from a Heatmap

Description

Get Row Dendrograms from a Heatmap

Usage

## S4 method for signature 'Heatmap'
row_dend(object, on_slice = FALSE)

Arguments

object

A Heatmap-class object.

on_slice

If the value is TRUE, it returns the dendrogram on the slice level.

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 = Heatmap(mat)
ht = draw(ht)
row_dend(ht)
ht = Heatmap(mat, row_km = 2)
ht = draw(ht)
row_dend(ht)

jokergoo/ComplexHeatmap documentation built on Dec. 22, 2024, 8:51 a.m.