Learn R Programming

dendroextras

An R package providing additional functions to cut, label and colour dendrogram clusters.

Installation

Released versions

The recommendation is to install from CRAN.

install.packages("dendroextras")

Bleeding Edge

You can use the devtools package to install the development version:

# install devtools if required.
if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("jefferis/dendroextras")

Note: Windows users need Rtools and devtools to install this way.

Copy Link

Version

Install

install.packages('dendroextras')

Monthly Downloads

465

Version

0.2.4

License

GPL (>= 2)

Maintainer

Gregory Jefferis

Last Published

August 24th, 2026

Functions in dendroextras (0.2.4)

slice

Cut a tree-like object into groups numbered in tree order
labels.hclust

Find labels of hclust object (in dendrogram order)
labels<-

Set the labels of an object
leaf_colours

Return the leaf colours of a dendrogram
colour_clusters

Colour sub-clusters of a tree (dendrogram/hclust) object
set_leaf_colours

Set the leaf colours of a dendrogram
dendroextras-package

Extra functions to cut, label and colour dendrogram clusters