Tal.Galili@gmail.c om The dendextend R package - JSM 2015
Aug 16, 2015
Talk outline• Motivating example (Iris)
• Getting dendextend
• Functions for extending dendrogram
• Connections to other packages
Why is “complete” different?
Comparing 8 Clustering algorithms onThe Iris dataset
Using: dendlist,cor.dendlist + The corrplot package
Getting the paper/presentation
Go to: www.R-statistics.comOr: just e-mail me:
Useful functions• labels• labels_colors• cutree• color_branches• sort• tanglegram• set (!)
The set functionset(dend, what, value)
• dend a dendrogram• what the property to update• value new values to set in the
tree
The set functionset(dend, what, value)
Type “what"Labels labels, labels_to_character, labels_colors,
labels_cex, labels_to_characterLeaves leaves_pch, leaves_col, leaves_cex, hang_leavesNodes nodes_pch, nodes_col, nodes_cex
Branches branches_lty, branches_col, branches_lwd, branches_k_color, by_labels_branches_lty,
by_labels_branches_col, by_labels_branches_lwd
https://plot.ly/~talgalili/6/y-vs-x/
ggplot2 + plot.ly
http://asbcllc.com/blog/2015/june/nba_14_15_top_50_heatmap/index.html
D3heatmap (zoomed)
Credits!
dendextend
This work was supported in part by the European Research Council under EC–EP7 European Research Council grant PSARPS-297519, and also by the HBP project.
A plot from a recent HBP meeting in Lausanne
DendrogramUsing 2 variables
DendrogramUsing all variables