## Demo on persisting the clusters selected in the dendrogram.
##
library(idendr0) # idendro
data(iris)
# perform hierarchical clustering analysis
hc <- hclust(dist(iris[, 1:4]))
# visualize clusters and heat map
clusters <- idendro(hc, iris)
# select some clusters, and quit idendro
# on next invokation, the clusters should be re-selected
idendro(hc, iris, clusters=clusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.