Only ontology term namesSource:
Converts a mixture of ontology IDs and names to only names. If an element of the input is missing from the chosen ontology it will be dropped. This can happen if the ontology is a subset (slim) version, but also if the input is not a valid ID or name.
Character: ontology IDs or term names.
Character: key to identify the ontology database. For the available keys see
ontology_ensure_name(c('reproduction', 'GO:0001754', 'foo bar')) #>  "eye photoreceptor cell differentiation" #>  "reproduction" #  "eye photoreceptor cell differentiation" "reproduction"