Description Usage Arguments Details Value
View source: R/select_LD_variants.R
Select variants in LD with the index variants
1 | select_LD_variants(index_set, population, plink)
|
index_set |
The output from |
population |
The population is one of AFR, EUR or EAS |
plink |
The path to plink |
select_LD_variants
selects LD proxies for variants in the
index_set based on 1000 Genomes Phase 3. The function automatically downloads
1000 Genomces Phase 3 VCF files for the specified population. The function
also requires plink2 (https://www.cog-genomics.org/plink2) to perform r2
calculation.
A data.table
that contains the original variants in index_set,
as well as their LD proxies (r2>0.7).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.