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.