View on GitHub

Circletree

Tool for converting a regular dendrogram to a circular one.

Download this project as a .zip file Download this project as a tar.gz file

CircleTree

Everybody loves circular dendrograms. They give you more space in the margin to fill with annotations and flirts with the awesome Circos plots. Here's my go at it in R.

This is only a first sketch of the tool and its structure will most likely change in the near future (I have already gotten annoyed by the implementation of some details), but feel free to try it out in the meantime. Bugs reports, suggestions, and comment are most welcome!

Installation

library(devtools)
install_github("backlin/CircleTree/CircleTree")

Demo

my.data <- iris[-5]
regular <- hclust(dist(my.data))

library(CircleTree)
circular <- CircleTree(regular, labels=iris$Species, col=iris$Species)

par(mfrow=1:2)
plot(regular)
plot(circular)

circletree0