Learn R Programming

ggcorrheatmap (version 0.1.2)

scale_dendrogram: Scale height of dendrogram.

Description

Scale height of dendrogram.

Usage

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

Value

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

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).