queryEnsembl: Query the Ensembl REST API

Description Usage Arguments Value Examples

View source: R/analysis_information.R

Description

Query the Ensembl REST API

Usage

1
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

1
2
3
4
5
6
7
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)

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.