check_dendrogram_pos: Check that dendrograms are positioned correctly

View source: R/add_dendrogram.R

check_dendrogram_posR Documentation

Check that dendrograms are positioned correctly

Description

Check that dendrograms are positioned correctly

Usage

check_dendrogram_pos(dat, context = c("row", "col"), dendro)

Arguments

dat

Long format data for plotting.

context

Dimension to which the dendrogram is added. These are used to directly get the columns in the long data and thus need to be "row" or "col".

dendro

The dendrogram segments and nodes list.

Value

dendro is returned as is if the positions are correct. Otherwise there is an error.


ggcorrheatmap documentation built on Aug. 25, 2025, 1:11 a.m.