dendrograms in clustergram vs pdist->linkage->dendrogram
显示 更早的评论
Hello,
Can somebody explain why the dendrogram produced by clustergram is different than the one obtained by the traditional pdist, linkage and dendrogram process?
As I understand clustergram uses Euclidean distance metric and Average linkage. But when I run this functions with the aforementioned parameters the resultant groups are different than those displayed by clustergram.
How can I reproduce the same dendrogram produced by clustergram using the pdist->linkage->dendrogram approach?
Thanks in advance.
回答(1 个)
Lucio Cetto
2012-10-11
1 个投票
Clustergram standardizes the data. I am not sure what release you are using but the way you control this option with the input arguments to clustergram has not been consistent. Also clustergram runs optimal-leaf-order.
HTH
Lucio
类别
在 帮助中心 和 File Exchange 中查找有关 Expression Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!