LD_prune | R Documentation |
Uses PLINK clumping method ('–clump' command), where a greedy search algorithm is implemented to randomly select a variant (or the variant with the lowest p-value, if a user wish to), referred to as the index SNP, and remove all variants within a certain kb distance in linkage disequilibrium with the index SNP, based on an r-squared threshold from the 1000 Genomes reference panel phase 3 data. Then repeats until no variants are left.
LD_prune( dat, clump_kb = 250, clump_r2 = 0.1, Random = TRUE, clump_p1 = 1, local = FALSE, ref_pop = "EUR", ref_bfile, seed = 77777 )
dat |
Output from |
clump_kb |
Clumping window, default is |
clump_r2 |
Clumping r-squared threshold, default is |
Random |
Logical, if |
clump_p1 |
Clumping sig level for index SNPs, default is |
local |
Logical, if |
ref_pop |
Super-population to use as reference panel at the API (when |
ref_bfile |
Path to the bed/bim/fam LD reference (e.g. "1kg.v3/EUR" for local 1000 EUR ref. population file). If |
seed |
Random number seed for random pruning |
Data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.