Learn R Programming

AtlasRDF (version 1.8.0)

getExFactorURIFromLabel: Get the EFO URI from a given label

Description

Find the EFO ontology class URI for a given search label.

Usage

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

Arguments

label
Search string to find the EFO class URI by
endpoint
SPARQL endpoint to query data from. Default value is the live Atlas SPARQL endpoint but this can be overidden.

Value

EFO class URI for the given search term

Examples

Run this code
    ####find the efo class uri for "asthma"
    getExFactorURIFromLabel("asthma")   #<http://www.ebi.ac.uk/efo/EFO_0000270>

Run the code above in your browser using DataLab