Learn R Programming

ensemblQueryR (version 0.1.0)

ensemblQueryLDwithSNPregion: 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")

Value

A dataframe.

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.

Examples

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

Run the code above in your browser using DataLab