Description Usage Arguments Details Value
View source: R/select_background_variants.R
Select matched background variants
1 | select_background_variants(x, snpsnap, bg_size = 200)
|
x |
A vector of SNP IDs (format: chr:pos, e.g. 12:56115585) |
snpsnap |
The SNPsnap dataset returned by |
bg_size |
The number of background variant per SNP ID. Default = 200 |
For each SNP ID, select_background_variants
select
bg_size
number of background variants matched by minor allele
frequency, distance to the nearest protein coding gene, and the number
of LD proxies (r2>0.7).
A list of data.table
s. Each data.table
contains the
background variant for a SNP ID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.