Learn R Programming

AtlasRDF (version 1.8.0)

getGeneUriFromEnsemblId: Get gene URI from an ENSEMBL ID.

Description

Get the URI for an ENSEMBL gene based on the ENSEMBL ID.

Usage

getGeneUriFromEnsemblId(id, endpoint = "http://www.ebi.ac.uk/rdf/services/atlas/sparql")

Arguments

id
ENSEMBL gene ID
endpoint
The location of the SPARQL endpoint - default value is live Atlas endpoint

Value

List of URIs for a given ENSEMBL ID - this is almost always one but it is feasible there are two so be aware.

Examples

Run this code
###get the URI identifier for a gene based on the ENSEMBL ID
#
getGeneUriFromEnsemblId("ENSMUSG00000031314")

Run the code above in your browser using DataLab