Interactive Dendrograms
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


'idendro' is an interactive dendrogram that enables the user to select and color clusters, to zoom and pan the dendrogram, and to visualize the clustered data not only in a built-in heat map, but also in any interactive plot implemented in the cranvas package.

Note: there is an alternative lightweight version of 'idendro' called idendr0. It is implemented in terms of base R graphics and platform-independent Tcl/Tk GUI, and integrated with the GGobi dynamic interactive graphics. idendr0 is suitable for users who have no cranvas package installed.


A paper in the Journal of Statistical Software and idendro vignette.

To install:

  • the latest development version: devtools::install_github("tsieger/idendro", args="--no-multiarch")

The installation of prerequisities is described in the full installation instructions available at

A simple example:

hc <- hclust(dist(iris[, 1:4]))
idendro(hc, iris)


Bidirectional integration with interactive cranvas plots:

hc <- hclust(dist(iris[, 1:4]))
qx <- qdata(iris)
idendro(hx, qx)
print(qscatter(Sepal.Length, Sepal.Width, data = qx))
print(qparallel(~., data = qx))


For demos, please run demo(package="idendro").

Find out more at