getOnto: get the ontology based on a short tag and year

View source: R/getOntos.R

getOntoR Documentation

get the ontology based on a short tag and year

Description

get the ontology based on a short tag and year

Usage

getOnto(ontoname = "cellOnto", year_added = "2023")

Arguments

ontoname

character(1) must be an element in 'valid_ontonames()'

year_added

character(1) refers to 'rdatadateadded' in AnnotationHub metadata

Note

This queries AnnotationHub for "ontoProcData" and then filters to find the AnnotationHub accession number and retrieves the ontologyIndex serialization of the associated OBO representation of the ontology.

Examples

co = getOnto()
tail(co$name[1000:1500])

vjcitn/ontoProc documentation built on Oct. 12, 2024, 4:35 p.m.