ensemblQueryLDwithSNPpairDataframe: `ensemblQueryLDwithSNPpairDataframe` applies `ensemblQueryLDwithSNPpair` to a data.frame of rsID pairs
Description
`ensemblQueryLDwithSNPpairDataframe` applies `ensemblQueryLDwithSNPpair` to a data.frame of rsID pairs
Usage
ensemblQueryLDwithSNPpairDataframe(
in.table,
pop = "1000GENOMES:phase_3:EUR",
cores = 1
)
Value
A dataframe.
Arguments
in.table
data.frame containing SNP pairs. Columns must include `rsid1` for the first member of the pair and `rsid2` for the second member of the pair.
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.
cores
Integer. A value between 1 and 10 is accepted, as this prevents the server returning overload-related errors.