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 Sept. 24, 2024, 4:48 p.m.