This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Height Of The Hcluster Dendrogram In R

Hi there,

when I tried to do hcluster in R While I am expecting some dissimilarity value of 0 to 1 in the height, I got a Dendrogram like below! Could any one help explain the height in the dendrogram. And how could i get dissimilarity value of 0 to 1 in hcluster of R

hcluster Denrogram

THX in advance, Kylie

r

2 answers

My guess is that you have used the default distance metrix of Euclidean distance, distances that can be on a scale that go beyond 0 to 1.

Check the default values of your functions in order to understand the distance metric used.

I think this should work

plot(hclust(d), hang=1, labels=groups)

Not working, I thought hang is to control the height between label and the tree but not the height of the Dendrogram

Log in to answer this question.