ensemblQueryLDwithSNPpair: Function to query Ensembl LD data with a pair of rsIDs.
This function will return r-squared and D' values for the rsID pair.
Description
Function to query Ensembl LD data with a pair of rsIDs.
This function will return r-squared and D' values for the rsID pair.
Usage
ensemblQueryLDwithSNPpair(rsid1, rsid2, pop = "1000GENOMES:phase_3:EUR")
Value
A dataframe.
Arguments
rsid1
String. Variant ID 1.
rsid2
String. Variant ID 2.
pop
String. Population for which to compute LD. Use `ensemblQueryGetPops()` to retrieve a list of all populations with LD data. Default is 1000GENOMES:phase_3:EUR.