create_dendrogram: Create dendrogram plot from hierarchical clustering

View source: R/pathway_heatmap.R

create_dendrogramR Documentation

Create dendrogram plot from hierarchical clustering

Description

Create dendrogram plot from hierarchical clustering

Usage

create_dendrogram(
  hclust_obj,
  dendro_line_size = 0.5,
  dendro_labels = FALSE,
  horizontal = FALSE
)

Arguments

hclust_obj

An hclust object from hierarchical clustering

dendro_line_size

Line width for dendrogram branches

dendro_labels

Whether to show labels on dendrogram

horizontal

Whether to create horizontal dendrogram

Value

A ggplot dendrogram


ggpicrust2 documentation built on Aug. 26, 2025, 1:07 a.m.