View source: R/ensemblQueryLDregionEndpoint.R
ensemblQueryLDwithSNPregion | R Documentation |
Function to query Ensembl LD data within a genomic window to get all variant pairs in the specified region and associated LD metrics.
ensemblQueryLDwithSNPregion(chr, start, end, pop = "1000GENOMES:phase_3:EUR")
chr |
String. Chromosome that the query region is located on. |
start |
String. Base pair that the query region starts at. |
end |
String. Base pair that the query region ends at. |
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.
ensemblQueryLDwithSNPregion(
chr="6",
start="25837556",
end="25843455",
pop="1000GENOMES:phase_3:EUR"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.