Question: Is r^2 equivalent to the squared pearson correlation?
1
gravatar for bbio
4.7 years ago by
bbio90
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.4k views
ADD COMMENTlink modified 4.7 years ago by Jean-Karim Heriche21k • written 4.7 years ago by bbio90
3
gravatar for Jean-Karim Heriche
4.7 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche21k 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 4.7 years ago by Jean-Karim Heriche21k
Please log in to add an answer.

Help
Access

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