find_ontology_terms: Find ontology terms by querying the Ontology Lookup Service...

View source: R/required_scripts.R

find_ontology_termsR Documentation

Find ontology terms by querying the Ontology Lookup Service directly from R. This is useful for quickly finding UBERON (or other) ontology IDs for inclusion in the CCN. Note: this is a wrapper for functions from library 'rols' (http://lgatto.github.com/rols/) Please cite as specified in 'citation("rols")' if you use this function.

Description

Find ontology terms by querying the Ontology Lookup Service directly from R. This is useful for quickly finding UBERON (or other) ontology IDs for inclusion in the CCN. Note: this is a wrapper for functions from library 'rols' (http://lgatto.github.com/rols/) Please cite as specified in 'citation("rols")' if you use this function.

Usage

find_ontology_terms(query, exact = TRUE, ontology = "UBERON", ...)

Arguments

query

Term you want to search for in the ontology (e.g., "neocortex")

exact

Return only exact matches to input term (TRUE; default) or that's that are close

ontology

Which ontology to search. Default is "UBERON". "" will search all ontologies

...

Additional parameters to 'OlsSearch'

Value

what is returned

# Describe is optional and can go after and param or return

name

description


AllenInstitute/CCN documentation built on April 15, 2023, 10:48 p.m.