Extra Functions to Cut, Label and Colour Dendrogram Clusters

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.

Release Version CRAN_Status_Badge Build Status

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


Released versions

The recommendation is to install from CRAN.


Bleeding Edge

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

# install devtools if required.
if (!requireNamespace("devtools")) install.packages("devtools")

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


dendroextras 0.2.3

  • Stop package tests writing PDFs outside tempdir (CRAN request)

dendroextras 0.2.2

  • namespace/description fixes for recent versions of R

dendroextras 0.2.1

  • fix bug in setting node colours

dendroextras 0.2

  • fix bug in setting cluster colours when labels are non-unique (thanks to K. Naxerova for the report)
  • doc: improve package overview docs
  • dev: upgrade to roxygen2 v4

dendroextras 0.1-4

  • fix failure to export set_leaf_colors and color_clusters

dendroextras 0.1-3

  • Add set_leaf_colours function
  • dev: add rstudio project, travis build and switch to roxygen2 v3

dendroextras 0.1-2

  • First submission to CRAN of functions to cut/colour/label dendrograms
  • ?dendroextras for details and examples

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.3 by Gregory Jefferis, 3 years ago

Browse source code at https://github.com/cran/dendroextras

Authors: Gregory Jefferis [aut, cre]

Documentation:   PDF Manual  

GPL (>= 2) license

Suggests testthat

Imported by biplotbootGUI, multibiplotGUI, nat.nblast.

Enhanced by dendextend.

See at CRAN