Create Dendrograms and Tree Diagrams Using 'ggplot2'

This is a set of tools for dendrograms and tree plots using 'ggplot2'. The 'ggplot2' philosophy is to clearly separate data from the presentation. Unfortunately the plot method for dendrograms plots directly to a plot device without exposing the data. The 'ggdendro' package resolves this by making available functions that extract the dendrogram plot data. The package provides implementations for 'tree', 'rpart', as well as diana and agnes (from 'cluster') diagrams.


Reference manual

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

install.packages("ggdendro")

0.2.0 by Andrie de Vries, 3 years ago


https://andrie.github.io/ggdendro/


Report a bug at https://github.com/andrie/ggdendro/issues


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


Authors: Andrie de Vries [aut, cre] , Brian D. Ripley [aut] (author of package tree)


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports MASS, ggplot2

Suggests rpart, tree, testthat, knitr, cluster, scales, spelling, rmarkdown, covr


Imported by MicrobTiSDA, MultivariateAnalysis, PTXQC, SPARTAAS, SensMap, Xplortext, chemodiv, dartR.popgen, discoveR, forestmangr, hierarchicalSets, iCellR, iheatmapr, rwty, visvow.

Depended on by GOplot.

Suggested by ClustMC, ModStatR, ROKET, ShinyItemAnalysis, dartR.base, disclapmix, ecan, fairmodels, ggh4x, ggpicrust2, ggside, microeco, mlr3viz, mosaic, mpactr, mulgar, r4pde, rabhit, rattle, reaborn, specmine, stabm, treestats.

Enhanced by dendextend.


See at CRAN