This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(dendextend) | |
require(whisker) | |
# plot dendrogram to html string. | |
# | |
# d a dendrogram object | |
# height/widht : pixels, height/widht of the plot | |
# rightmargin : pixels to reserve on the right side for leaf labels. | |
# | |
d3dendrogram <- function(d,height=500,width=700,rightmargin=200){ |