Instantiate a DO Repository
DOrepo.RdInstantiate a DOrepo object from the
pyDOID package (powered by
reticulate).
Arguments
- path
 The local path to the HumanDiseaseOntology git repository, as a string.
Classes & Methods
The DOrepo class inherits the methods & subclasses of the
GitPython.Repo
class, along with the following:
DOrepo$tag_iterate(function, start = [str], end = [str]): Iterate through DO releases (tags) fromstarttoendexecuting afunctionat each.startandendare optional; if unspecified the first or last release/tag of the repo will be assumed.DOrepo$capture_head(): Capture the currentheadof the repo; useful for restoring state after git checkout(s). USE: If assigned to variablex, restore state withx$checkout().DOrepo$doidandDOrepo$doid_merged: Access the doid.owl and doid-merged.owl files of the repository. These inherit from thepyDOID.owl.xmlclass, seeowl_xml()for methods. NOTE that, unlikeowl_xml(), doid.owl and doid-merged.owl are not loaded into memory upon instantiation ofDOrepo, but are loaded automatically when the first$query()is executed or manually via$load().
See also
Other pyDOID classes:
owl_xml()