필터 지우기
필터 지우기

dendrograms in clustergram vs pdist->lin​kage->dend​rogram

조회 수: 3 (최근 30일)
Diego
Diego 2012년 10월 11일
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
Diego
Diego 2012년 10월 11일
I thought this could be explained by the standardization performed by clustergram.
However, I use zscore for both, the matrix and each column in the matrix and the dendograms are still different than those of clustergram.
Any idea is much appreciated.

댓글을 달려면 로그인하십시오.

답변 (1개)

Lucio Cetto
Lucio Cetto 2012년 10월 11일
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
  댓글 수: 1
Diego
Diego 2012년 10월 11일
Thank you Lucio. Yes the optimalleaforder can be an explanation. I'm a little bit rusty in matlab and also it's my first time handling a Class. So it can take me sometime to perform the tests.
Thanks again.
Diego

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Expression Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by