column_dend-HeatmapList-method: Get Column Dendrograms from a hHeatmap List

column_dend-HeatmapList-methodR Documentation

Get Column Dendrograms from a hHeatmap List

Description

Get Column Dendrograms from a hHeatmap List

Usage

## S4 method for signature 'HeatmapList'
column_dend(object, name = NULL, on_slice = FALSE)

Arguments

object

A HeatmapList-class object.

name

Name of a specific heatmap.

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_list = Heatmap(mat) + Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) + Heatmap(mat, column_km = 2)
ht_list = draw(ht_list)
column_dend(ht_list)
column_dend(ht_list, on_slice = TRUE)
ht_list = Heatmap(mat) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)

jokergoo/ComplexHeatmap documentation built on Sept. 24, 2024, 4:48 p.m.