ComplexHeatmap (version 1.10.2)

row_order-Heatmap-method: Get row order from a heatmap

Description

Get row order from a heatmap

Usage

## S3 method for class 'Heatmap':
row_order(object)

Arguments

object
a Heatmap-class object

Value

  • A list contains row orders which correspond to the original matrix

Examples

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

Run the code above in your browser using DataLab