View source: R/ensemblQueryLDpairEndpoint.R
ensemblQueryLDwithSNPpairDataframe | R Documentation |
'ensemblQueryLDwithSNPpairDataframe' applies 'ensemblQueryLDwithSNPpair' to a data.frame of rsID pairs
ensemblQueryLDwithSNPpairDataframe(
in.table,
pop = "1000GENOMES:phase_3:EUR",
cores = 1
)
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. |
A dataframe.
ensemblQueryLDwithSNPpairDataframe(
in.table=data.frame(rsid1=rep("rs6792369", 10),
rsid2=rep("rs1042779", 10)),
pop="1000GENOMES:phase_3:EUR"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.