Learn R Programming

AtlasRDF (version 1.8.0)

searchForEFOTerms: Search for EFO URIs from a given label text

Description

Finds any EFO ontology class whose label matches the given search label or part of it.

Usage

searchForEFOTerms(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

Data frame of EFO class URIs and their corresponding labels

Examples

Run this code
    ###find the efo classes which contain the word 'cancer' in their label
    #searchForEFOTerms("cancer")   

Run the code above in your browser using DataLab