Hi everyone:
I am trying to plot the linkage disequilibrium decay across the genome using genome-wide snps and get a plot that looks something like this:
http://postimg.org/image/5bkdju6jx/
In the methods sections the authors specified that they used the --r2 command in plink. I read the details of this command in the plink website, but I am still not sure how should I use the output file to plot a similar thing.
Any help would be really appreciated.
Thank you in advance.
Javier
Ps: Heres the article's title: Population Genetic Structure of the People of Qatar (2010)
Can you post the first 4 lines of the plink.ld file containing the pai wise correlations?
Hi Irsan:
Heres the output file I get from plink using default values
http://postimg.org/image/87hq8nodp/
I got an answer from another post, and what I need to do is calculate the distance between SNP A and SNP B and calculate the r2 averages for every distance binned for example every 1kb. Do you know how to do a script that could do that?
Thank you!
Hi
i have two file:ped and map
which command of plink is requir to build input file for R?(for linkage disequilibrium decay across the genome)
Your question is unrelated to this old thread and should be asked in a separate question.