ensemblQueryLDwithSNPregion: Function to query Ensembl LD data within a genomic window to...

View source: R/ensemblQueryLDregionEndpoint.R

ensemblQueryLDwithSNPregionR Documentation

Function to query Ensembl LD data within a genomic window to get all variant pairs in the specified region and associated LD metrics.

Description

Function to query Ensembl LD data within a genomic window to get all variant pairs in the specified region and associated LD metrics.

Usage

ensemblQueryLDwithSNPregion(chr, start, end, pop = "1000GENOMES:phase_3:EUR")

Arguments

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.

Value

A dataframe.

Examples

ensemblQueryLDwithSNPregion(
chr="6",
start="25837556",
end="25843455",
pop="1000GENOMES:phase_3:EUR"
)


ensemblQueryR documentation built on May 31, 2023, 6:38 p.m.