Question: Is r^2 equivalent to the squared pearson correlation?
gravatar for bbio
5.1 years ago by
United Kingdom
bbio90 wrote:

Is the r^2 between two SNPs (the measure of linkage disequilibrium between two variants) the same as the squared Pearson correlation between the two variants (encoded as 0/1/2)? In other words, to calculate the r^2 can I just take the two vectors of 0/1/2s, calculate the Pearson correlation and square the result?

Some sources seem to suggest that it is (and it would make a lot of sense to me) but I am having trouble finding a clear answer to this.

r2 snp vcf • 2.5k views
ADD COMMENTlink modified 5.1 years ago by Jean-Karim Heriche22k • written 5.1 years ago by bbio90
gravatar for Jean-Karim Heriche
5.1 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche22k wrote:

Yes, r^2 between SNPs is a squared Pearson correlation and yes, you can compute it with the 0,1,2, coded vectors. I think this is how PLINK does it.


ADD COMMENTlink written 5.1 years ago by Jean-Karim Heriche22k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1508 users visited in the last hour