Entering edit mode
Hi,
I want to calculate the Spearman rank correlation between the strains.
I have used the below commands.
c <- cor(cor, method="spearman") d <- as.dist(1-c) hc <- hclust(d, method="complete") plot(hc)
As correlation is between +1 and -1 as I can see in the matrix file even. I can easily interoperate the correlation between the strains. Can anyone guide me regarding "d <- as.dist(1-c)" command, as the y-axis scale, lies between 0.6-1.4(hight) how is it possible.
Height of a dendrogram is not the correlation between samples, please see some resources on how to read a dendrogram, e.g. https://www.displayr.com/what-is-dendrogram/