get_heatmap_order: Return the row or column ordering present in a heatmap

View source: R/heatmaps.R

get_heatmap_orderR Documentation

Return the row or column ordering present in a heatmap

Description

Return the row or column ordering present in a heatmap

Usage

get_heatmap_order(heatmap, type = "rows")

Arguments

heatmap

A heatmap object to collect ordering from.

type

The type of ordering to return. Either "rows" or "columns".

Value

A numeric vector of the ordering used within the provided ComplexHeatmap "Heatmap" object.


metasnf documentation built on April 3, 2025, 5:40 p.m.