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

row_order-Heatmap-methodR Documentation

Get Row Order from a Heatmap

Description

Get Row Order from a Heatmap

Usage

## 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

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)

jokergoo/ComplexHeatmap documentation built on Dec. 22, 2024, 8:51 a.m.