Nothing
ggdplot<-function(hc,lab=NULL,ptype=1,title=NULL, ...){
hcdata<-dendro_data(hc)
if(!is.null(lab)){
hcdata$labels[,3]<-lab
}
if(ptype==1){
# horizontal plot with labels
if(!is.null(title)){
gg<-ggdendrogram(hcdata, rotate=TRUE, size=2) + labs(title=title)
}
if(is.null(title)){
gg<-ggdendrogram(hcdata, rotate=TRUE, size=2) + labs(title="Dendrogram in ggplot2")
}
}
if(ptype!=1){
# horizontal plot with labels and grid
gg<-ggdendrogram(hcdata, rotate = TRUE, theme_dendro = FALSE)
}
gg
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.