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§