Learn R Programming

ggpicrust2 (version 2.5.2)

create_dendrogram: 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
)

Value

A ggplot dendrogram

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