Dear all,

I generated a heatmap with the heatmap() function with the default
"complete" linkage method, but when I add the argument

Rowv=as.dendrogram(hclust(dist(matrix), method="complete")),

The dendrogram generated is different from the dendrogram produced by
heatmap() with default settings. Could someone kindly point out where my
mistakes are?

P.S. When I did

clust<-hclust(dist(matrix), method="complete")

plot(clust)
clust$order

the dendrogram or the order of genes is different from the dendrogram
generated by heatmap() with default settings
-- 
View this message in context: 
http://www.nabble.com/heatmap-and-dendrogram-tp25006468p25006468.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to