[ensembl-dev] efficient way to calculate high-LD pairs to a single variant with API?
andrew126 at mac.com
andrew126 at mac.com
Thu Aug 11 04:42:45 BST 2016
Hi,
Using the API's LDFeatureContainer and LDFeatureContainerAdapter r^2 values seem to be calculated between all variant pairs. Is there a way to avoid all unnecessary calculations if I am only interested in high-LD pairs to a single SNP across a region/slice? So I only need (n-1) r^2 calculations across a region, and not n*(n-1) r^2 calculations.
Thanks for any guidance.
Best,
Andrew
More information about the Dev
mailing list