This function returns a data frame of LD values between the given variants in a selected population.
findPairwiseLD(
rsList,
file = NULL,
pairwise = FALSE,
build = 38,
db = "1000GENOMES:phase_3:EUR",
r2 = 0.1
)A data table with variant information.
A vector of rs numbers.
Path to the Excel file for saving search results.
If TRUE, compute pairwise LD between all elements of a list. If FALSE, computes the LD between first and other elements of the list. default: FALSE
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"
Only return pairs of variants whose r-squared value is equal to or greater than the value provided. default: 0.1.