• Stars
    star
    9
  • Rank 1,939,292 (Top 39 %)
  • Language
    R
  • Created over 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Interactive Dendrograms

idendro

'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.

Documentation

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 https://github.com/tsieger/idendro/wiki.

A simple example:

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

Example

Bidirectional integration with interactive cranvas plots:

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

Example

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

Find out more at https://github.com/tsieger/idendro.