Learn R Programming

AtlasRDF (version 1.8.0)

getGeneUriFromName: Get URI of a gene based on the common gene name.

Description

Get the URI of an ENSEMBL gene based on a search by the common gene name.

Usage

getGeneUriFromName(genename, taxon, endpoint = "http://www.ebi.ac.uk/rdf/services/atlas/sparql")

Arguments

genename
The common gene name by which to search
taxon
The URI of the taxon to search genes for, use function getTaxonURI to get the URI
endpoint
The location of the SPARQL endpoint - default value is live Atlas endpoint

Value

list of gene URIs matching the query: note this can be more than one

Examples

Run this code
###get the gene URI identifier based on the common gene name for "SRGN" in human
#getGeneUriFromName("SRGN", "obo:NCBITaxon_9606")

Run the code above in your browser using DataLab