How does plink calculates linkage disequilibrium (r2) in unphased data?
1
0
Entering edit mode
4.7 years ago
serpalma.v ▴ 80

Hello

when I pass a vcf file to plink, it can calculate the linkage disequilibrium (r2) even though the data is not phased. How is this possible when the haplotype frequencies for SNP pairs are not known?

Thanks!

plink SNP sequencing • 1.9k views
ADD COMMENT
0
Entering edit mode
4.7 years ago

For each SNP, you can write a {0, 1, 2}-valued vector of REF allele counts. The unphased-r2 reported by plink is the square of the sample Pearson correlation between these two vectors.

ADD COMMENT
0
Entering edit mode

Would the result have the same interpretation as r^2=D^2/(p1p2q1q2)?

ADD REPLY

Login before adding your answer.

Traffic: 3062 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