Last active
August 9, 2022 00:44
-
-
Save slowkow/3d13aa44cf4f65ca9ad2a0570346ba05 to your computer and use it in GitHub Desktop.
Find SNP proxies in R
Hi Slowkow,
Thank you for explaning this to me, I didn't think of it that way! I really appreciate your help.
Regards,
Randa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's consider a SNP
x. What would it take to find all genome-wide proxies withr2 > 0.8?We would need to compute the
r2between our chosen SNPxand every other SNP in the genome. If there are 20 million SNPs in the genome, then we need to compute 20 millionr2values and filter for the subset of SNPs that haver2 > 0.8.The fastest way to compute these values is with the tomahawk software.
Since you do not want to compute these values, you might consider searching for a table that someone else already created and shared publicly. I am not aware of a publicly available LD table with genome-wide values for each SNP, but I'd like to make one when I have some time.
If you're interested to find additional R packages for genetics, this is a good reference:
https://CRAN.R-project.org/view=Genetics
Also check out Bioconductor.