row_order-Heatmap-method {ComplexHeatmap}R 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

A list contains row orders which correspond to the original matrix

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

mat = matrix(rnorm(100), 10)
ht = Heatmap(mat)
row_order(ht)
ht = Heatmap(mat, km = 2)
row_order(ht)

[Package ComplexHeatmap version 1.18.1 Index]