monarch-initiative / phenol

phenol: Phenotype ontology library
https://phenol.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
23 stars 4 forks source link

Augment `OntologyGraph` API #458

Closed ielis closed 9 months ago

ielis commented 9 months ago

The PR deprecates the includeSource flags on methods for getting children, parents, descendants and ancestors, and suggests the replacements.

On top of that, the OntologyGraph API supports extending an existing collection with ancestors or descendant terms, and a few other convenience methods.