Get Column Order from a Aeatmap List

# S4 method for Heatmap
column_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.

Examples

mat = matrix(rnorm(100), 10) ht = Heatmap(mat) ht = draw(ht)
#> [1] 4 8 7 1 10 5 9 2 3 6
ht = Heatmap(mat, column_km = 2) ht = draw(ht)
#> $`1` #> [1] 2 3 6 #> #> $`2` #> [1] 4 8 7 1 10 5 9 #>