R语言画树状聚类图
(2018-08-27 20:20:11)gene<-read.table("1.txt",header=T,sep='')
hc = hclust(dist(gene))
hcd = as.dendrogram(hc)
plot(hcd)
colLab <- function(n) {
n
}
clusDendro = dendrapply(hcd, colLab)
plot(clusDendro, main = "Cool Dendrogram", type = "rectangle")