column_dend-Heatmap-method {ComplexHeatmap}R Documentation

Get Column Dendrograms from a Heatmap

Description

Get Column Dendrograms from a Heatmap

Usage

## S4 method for signature '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.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

mat = matrix(rnorm(100), 10)
ht = Heatmap(mat)
ht = draw(ht)
column_dend(ht)
ht = Heatmap(mat, column_km = 2)
ht = draw(ht)
column_dend(ht)

[Package ComplexHeatmap version 2.9.4 Index]