Learn R Programming

ggcorrheatmap (version 0.1.2)

check_dendrogram_pos: Check that dendrograms are positioned correctly

Description

Check that dendrograms are positioned correctly

Usage

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

Value

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

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.