Learn R Programming

ComplexHeatmap (version 1.10.2)

column_order-Heatmap-method: Get column order from a heatmap list

Description

Get column order from a heatmap list

Usage

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

Arguments

object
a Heatmap-class object

Value

  • A vector containing column orders

Examples

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

Run the code above in your browser using DataLab