column_dend-Heatmap-method: Get Column Dendrograms from a Heatmap

column_dend-Heatmap-methodR Documentation

Get Column Dendrograms from a Heatmap

Description

Get Column Dendrograms from a Heatmap

Usage

## S4 method for signature 'Heatmap'
column_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)
column_dend(ht)
ht = Heatmap(mat, column_km = 2)
ht = draw(ht)
column_dend(ht)

jokergoo/ComplexHeatmap documentation built on Nov. 17, 2023, 11:27 a.m.