View source: R/getVariantLDs.R
LDlist | R Documentation |
This function returns a list of variables that are in high LD with the lead variant.
LDlist(rslist, server, db, window_size, r2)
rslist |
A vector of rs numbers. |
server |
Name of the server. "https://rest.ensembl.org" can be used for GRCh38 and "https://grch37.rest.ensembl.org" for GRCh37. |
db |
The population database for calculating LD scores. This can be found using |
window_size |
Number of base pairs around the variant for checking LD scores (max = 500kb) |
r2 |
The LD threshold for selecting variants around the target SNP. |
a data table with variant information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.