scale_dendrogram: Scale height of dendrogram.

View source: R/add_dendrogram.R

scale_dendrogramR Documentation

Scale height of dendrogram.

Description

Scale height of dendrogram.

Usage

scale_dendrogram(dend_seg, context = c("rows", "cols"), dend_side, dend_height)

Arguments

dend_seg

Data frame containing dendrogram segments in format obtained from dendextend.

context

Dimension to draw dendrogram along (rows or columns).

dend_side

Logical indicating which side to draw dendrogram on. If row dendrogram TRUE is left. If column dendrogram TRUE is down.

dend_height

Scaling parameter for dendrogram height (1 is no scaling).

Value

Data frame containing coordinates for dendrogram segments (and any colour, linewidth, line type parameters)


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