ggdendro: 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.

Version: 0.2.0
Depends: R (≥ 3.5)
Imports: MASS, ggplot2 (≥ 0.9.2)
Suggests: rpart (≥ 4.0-0), tree, testthat, knitr, cluster, scales, spelling, rmarkdown, covr
Published: 2024-02-23
DOI: 10.32614/CRAN.package.ggdendro
Author: Andrie de Vries [aut, cre], Brian D. Ripley [aut] (author of package tree)
Maintainer: Andrie de Vries <apdevries at>
License: GPL-2 | GPL-3
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: ggdendro results


Reference manual: ggdendro.pdf
Vignettes: Using 'ggdendro' to plot dendrograms
Modifying ggdendogram output


Package source: ggdendro_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggdendro_0.2.0.tgz, r-oldrel (arm64): ggdendro_0.2.0.tgz, r-release (x86_64): ggdendro_0.2.0.tgz, r-oldrel (x86_64): ggdendro_0.2.0.tgz
Old sources: ggdendro archive

Reverse dependencies:

Reverse depends: EnsCat, GOplot, sangeranalyseR
Reverse imports: abseqR, AneuFinder, artMS, barcodetrackR, BatchQC, benchdamic, BioNERO, BloodCancerMultiOmics2017, CEMiTool, chemodiv, ClusterFoldSimilarity, dartR.popgen, DEGreport, diffudist, discoveR, evaluomeR, forestmangr, GeDi, hierarchicalSets, iCellR, iheatmapr, Linnorm, missCompare, MultivariateAnalysis, MutationalPatterns, netZooR, ngsReports, PhosR, Plasmidprofiler, plotBart, PTXQC, qPLEXanalyzer, rwty, scRepertoire, scRNAseqApp, SensMap, SPARTAAS, statVisual, superheat, triplot, visvow, Xplortext
Reverse suggests: AntMAN, disclapmix, ecan, EWCE, fairmodels, ggh4x, ggside, microeco, migraph, mlr3viz, mosaic, motifTestR, mulgar, rattle, ShinyItemAnalysis, SomaticSignatures, spatialHeatmap, stabm, structToolbox
Reverse enhances: dendextend


Please use the canonical form to link to this page.