View source: R/ensemblQueryLDpairEndpoint.R
ensemblQueryLDwithSNPpair | R Documentation |
Function to query Ensembl LD data with a pair of rsIDs. This function will return r-squared and D' values for the rsID pair.
ensemblQueryLDwithSNPpair(rsid1, rsid2, pop = "1000GENOMES:phase_3:EUR")
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. |
A dataframe.
ensemblQueryLDwithSNPpair(
rsid1="rs6792369",
rsid2="rs1042779",
pop="1000GENOMES:phase_3:EUR"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.