# dendextend v1.8.0

0

0th

Percentile

## Extending 'dendrogram' Functionality in R

Offers a set of functions for extending 'dendrogram' objects in R, letting you visualize and compare trees of 'hierarchical clusterings'. You can (1) Adjust a tree's graphical parameters - the color, size, type, etc of its branches, nodes and labels. (2) Visually and statistically compare different 'dendrograms' to one another.

# dendextend

## Introduction

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.

## Motivation

Extending R core dendrogram functions.

## Installation

To install the stable version on CRAN:

install.packages('dendextend')
# install.packages('dendextendRcpp')


To install the GitHub version:

install.packages.2 <- function (pkg) if (!require(pkg)) install.packages(pkg);
install.packages.2('devtools')
# install.packages.2('Rcpp')
# make sure you have Rtools installed first! if not, then run:
#install.packages('installr'); install.Rtools()
devtools::install_github('talgalili/dendextend')
# devtools::install_github('talgalili/dendextendRcpp')

# Having colorspace is also useful, since it is used
# In various examples in the vignettes
install.packages.2('colorspace')


And then you may load the package using:

library("dendextend")
# library("dendextendRcpp") # dendextendRcpp is no longer supported (or available on CRAN). Still, dendextend is faster these days, in recent versions of R, thanks to some updates to labels.dendrogram and other modifications to R.


Vignettes:

## Share your dendrograms!

If you have made interesting work using the dendextend package, I would LOVE to know about it. It can be a blog post, an academic paper, or just some plots you made for your work in the industry. Please contact me (see below) with what you have done, and I would also be happy to promote it in this page.

Packages:

## 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

 @Article{,
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},
}


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.

## Contact

You are welcome to:

## Latest news

You can see the most recent changes to the package in the NEWS.md 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.

## Vignettes of dendextend

 Name disabled/dendextend-tutorial.rnw Cluster_Analysis.Rmd FAQ.Rmd Quick_Introduction.Rmd introduction.Rmd No Results!