row_order-HeatmapList-method {ComplexHeatmap}R Documentation

Get row order from a heatmap list

Description

Get row order from a heatmap list

Usage

## S4 method for signature 'HeatmapList'
row_order(object)

Arguments

object

a HeatmapList-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_list = Heatmap(mat) + Heatmap(mat)
row_order(ht_list)
ht = Heatmap(mat, km = 2) + Heatmap(mat)
row_order(ht_list)

[Package ComplexHeatmap version 1.18.1 Index]