spearman correlation
0
0
Entering edit mode
info@shi • 0
@5c18675e
Last seen 3.1 years ago
Japan

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. enter image description here

correlation sperarman • 1.2k views
ADD COMMENT
1
Entering edit mode

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/

ADD REPLY

Login before adding your answer.

Traffic: 888 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6