column_order-HeatmapList-method: Get Column Order from a Heatmap List

Description Usage Arguments Value Author(s) Examples

Description

Get Column Order from a Heatmap List

Usage

1
2
## S4 method for signature 'HeatmapList'
column_order(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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
mat = matrix(rnorm(100), 10)
ht_list = Heatmap(mat) + Heatmap(mat)
ht_list = draw(ht_list)
column_order(ht_list)
ht_list = Heatmap(mat, column_km = 2) + Heatmap(mat, column_km = 2)
ht_list = draw(ht_list)
column_order(ht_list)
ht_list = Heatmap(mat) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_order(ht_list)
ht_list = Heatmap(mat, column_km = 2) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_order(ht_list)

ComplexHeatmap documentation built on Nov. 14, 2020, 2:01 a.m.