row_order-Heatmap-method: Get Row Order from a Heatmap

Description Usage Arguments Value Author(s) Examples

Description

Get Row Order from a Heatmap

Usage

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

1
2
3
4
5
6
7
mat = matrix(rnorm(100), 10)
ht = Heatmap(mat)
ht = draw(ht)
row_order(ht)
ht = Heatmap(mat, row_km = 2)
ht = draw(ht)
row_order(ht)

zhongmicai/complexHeatmap documentation built on May 7, 2019, 6:11 a.m.