This function returns a list of variables that are in high LD with a list of selected variants using data from the Ensembl website.
findProxy(
rslist,
file = NULL,
build = "38",
db = "1000GENOMES:phase_3:EUR",
window_size = 500,
r2 = 0.8
)A data table with variant information.
A vector of rs numbers.
Path to the Excel file for saving search results.
Genome build. Either 37 or 38. default: 38
The population database for calculating LD scores.
This can be found using Ensembl.Databases() function. default: 1000GENOMES:phase_3:EUR
Number of base pairs around the variant for checking LD scores (max = 500kb). default: 500
The minimum LD threshold for selecting variants around the target SNP. default: 0.8.