queryEnsembl: Query the Ensembl REST API

View source: R/analysis_information.R

queryEnsemblR Documentation

Query the Ensembl REST API

Description

Query the Ensembl REST API

Usage

queryEnsembl(path, query, grch37 = TRUE)

Arguments

path

Character: API path

query

Character: API query

grch37

Boolean: query the Ensembl GRCh37 API? if FALSE, query the most recent API

Value

Parsed response or NULL if no response

Examples

path  <- "overlap/region/human/7:140424943-140624564"
query <- list(feature = "gene")
psichomics:::queryEnsembl(path, query, grch37 = TRUE)

path  <- "lookup/symbol/human/BRCA2"
query <- list(expand=1)
psichomics:::queryEnsembl(path, query, grch37 = TRUE)

nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.