Description
Extra Functions to Cut, Label and Colour Dendrogram Clusters.
Description
Provides extra functions to manipulate dendrograms that build on the base functions provided by the 'stats' package. The main functionality it is designed to add is the ability to colour all the edges in an object of class 'dendrogram' according to cluster membership i.e. each subtree is coloured, not just the terminal leaves. In addition it provides some utility functions to cut 'dendrogram' and 'hclust' objects and to set/get labels.
README.md
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.