memo_order: Sort matrix for better visualization

View source: R/layout-heatmap-oncoplot.R

memo_orderR Documentation

Sort matrix for better visualization

Description

Helper function used to order the Oncoplot samples. Typically, you would use this in combination with align_order2(), e.g., align_order2(memo_order).

Usage

memo_order(x)

Arguments

x

A matrix, where NA values will be treated as empty.

Value

A vector of ordering weights.


ggalign documentation built on June 8, 2025, 11:25 a.m.