Skip to content
Extending R's Dendrogram Functionality
Branch: master
Clone or download
Latest commit 7d3b420 Nov 27, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates 2 Sep 27, 2019
R Bump to 1.14.0 Nov 27, 2019
data Adding the khan dataset to the package. Jun 6, 2015
demo require -> library (Thanks Yihui:… Jul 29, 2014
docs Going back to 1.13.2 Nov 27, 2019
inst Remove dendextendRcpp from introduction.Rmd May 11, 2019
tests Fixed testthat failure due to RNG changes in R (test for pvclust) Nov 23, 2019
.Rbuildignore ignore stuff for CRAN Jul 17, 2019
.gitignore exclude any cache folder in vignette or git May 24, 2015
.travis.yml would this help codecov to work?! May 26, 2016 Added Code of conduct May 17, 2015
ChangeLog Bump to 1.14.0 Nov 27, 2019
DESCRIPTION Going back to 1.13.2 Nov 27, 2019
NAMESPACE update docs May 11, 2019
NEWS Going back to 1.13.2 Nov 27, 2019 Going back to 1.13.2 Nov 27, 2019
TODO misc Oct 21, 2016
dendextend.Rproj ignore caching and an old tutorial Oct 31, 2015

Build Status CRAN_Status_Badge


dendextend website (built using pkgdown)

Table of contents:


Class "dendrogram" provides general functions for handling tree-like structures in R. It is intended as a replacement for similar functions in hierarchical clustering and classification/regression trees, such that all of these can use the same engine for plotting or cutting trees.

However, many basic features are still missing from the dendrogram class. This package aims at filling in some gaps.

The dendextend package extending R core dendrogram functions.


To install and load dendextend, simply use:

install.packages('dendextend') # stable CRAN version
library("dendextend") # load the package



Also ceck out the dendextend tag in stackoverflow for more examples.

A notable sister package for dendextend is heatmaply for creating interactive cluster heatmaps using R (combining dendextend and plotly).

Getting help

Please post your question to stackoverflow using the tags: dendextend and r.

How to cite the dendextend package

The methods within the code package can be cited as:

 Tal Galili (2015). dendextend: an R package for visualizing, adjusting, and comparing trees of
 hierarchical clustering. Bioinformatics. DOI: 10.1093/bioinformatics/btv428

A BibTeX entry for LaTeX users is

   author = {Tal Galili},
   title = {dendextend: an R package for visualizing, adjusting, and comparing trees of hierarchical clustering},
   journal = {Bioinformatics},
   year = {2015},
   doi = {10.1093/bioinformatics/btv428},
   url = {},
   eprint = {},

This free open-source software implements academic research by the authors and co-workers. If you use it, please support the project by citing the appropriate journal articles.

Submitting bug reports and patches

You are welcome to:

Before reporting bugs, please make sure you're using the latest version from github:

install.packages.2 <- function (pkg) if (!require(pkg)) install.packages(pkg);

# Having colorspace is also useful, since it is used
# In various examples in the vignettes

Latest news

You can see the most recent changes to the package in the file

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

You can’t perform that action at this time.