Calculate Linkage Disequilibrium For Snps (Using R^2)
Entering edit mode
9.4 years ago
TitoPullo ▴ 180

I have SNPs information for 500 individuals (samples). Given a SNP, for each individual is available the number of minor alleles measured in that sample (i.e 0,1 or 2). I need to calculate the linkage disequilibrium between each pair of SNPs. I've found this formula: enter image description here

where A (or B) and a (or b) are the two possible alleles at one locus. P(xy) denotes the frequency of observing x and y together in the same haplotype, P(x) denotes the frequency of x.

I defined the frequencies as:

enter image description here

where #(0) is the number of individuals with a value of 0 for the specific SNP. Is it the right way to calculate the linkage disequilibrium using my available data?

snp linkage • 9.9k views
Entering edit mode

You can find some info here, included formulas to calculate r^2: discrepancy between LD and R-sq I also suggest you read the paper referenced therein, it's very interesting!


Login before adding your answer.

Traffic: 825 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6