Module hpo::comparison
source · Expand description
Compare two versions of the HPO Ontology to each other
§Examples
use hpo::Ontology;
let old_ontology = Ontology::default();
let new_ontology = Ontology::default();
let comparison = old_ontology.compare(&new_ontology);
for term in comparison.changed_hpo_terms() {
println!("Changed term: {}", term.id());
}
for term in comparison.added_hpo_terms() {
println!("New term: {}", term.id());
}
// ...
Structs§
- Differences between two
Gene
s orOmimDisease
s - Compares the content of two Ontologies
- Differences between two
HpoTerm
s