ontologyIndex 2.9
- Attempting to create ontologies containing cycles now fails with an
error message and get_ontologynow has optionmerge_equivalent_terms(TRUEby default) so
that terms that are markedequivalent_toother terms are
merged and properties aggregated (thanks to feedback from Vincent
Carey).
- get_ancestorsnow returns an empty character vector
rather than- NULLwhen- termsargument is
empty.
ontologyIndex 2.2
- The *_branchesfunctions have all been renamed to*_descendantsand theirbranch_rootsargument
toroots.
- The get_descendantsfunction has had two arguments
renamed:ancestoris nowrootsand can accept
a vector of root terms, returning the set of all terms which descend
from them;remove_ancestoris nowexclude_roots, determining whether or not to exclude the
givenrootsterms from the result.
- A checkfunction which checks whether an ontology is
valid has been added.
- XML encoded ‘OWL’ files can now be read in as
ontology_indexes.
ontologyIndex 2.1
- A specialisation of printhas been added forontology_indexes.
ontologyIndex 2.0
- get_ontologynow only requires a- fileargument.
- ontology_indexobjects now contain an- obsoleteslot - a- logicalvector.
- prune_branches,- exclude_branchesand- intersection_with_branchesnow use the same signature and
are renamed to reflect the possibilit of passing multiple branch
roots.
- get_term_property,- get_term_parents,- get_term_ancestorsand- get_term_childrenfunctions with- as_namesargument to get descriptive names
added for convenience.
- swap_out_alt_idsreplaced with- force_compatibilitywhich optionally throws an error if
non-matchable term IDs are passed.
- GO now included: data(go)now loads anontology_indexof the Gene Ontology (2015-11-27).