Class HpoPhenotypeValidators.OrganSystem
java.lang.Object
org.phenopackets.phenopackettools.validator.core.phenotype.HpoPhenotypeValidators.OrganSystem
- Enclosing class:
- HpoPhenotypeValidators
A static factory class for providing validators for checking annotation of organ systems.
The validators check if each phenopacket or family/cohort member have annotation for an organ system represented by a top-level HPO term (e.g. Abnormality of limbs). The annotation comprises either one or more observed descendants (e.g. Arachnodactyly), or excluded top-level HPO term (NOT Abnormality of limbs).
-
Method Summary
Modifier and TypeMethodDescriptionstatic PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder>
cohortHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aCohort
using providedOntology
and a collection of organ systemTermId
s.static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder>
familyHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aFamily
using providedOntology
and a collection of organ systemTermId
s.static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder>
phenopacketHpoOrganSystemValidator
(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aPhenopacket
using providedOntology
and a collection of organ systemTermId
s.
-
Method Details
-
phenopacketHpoOrganSystemValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.PhenopacketOrBuilder> phenopacketHpoOrganSystemValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aPhenopacket
using providedOntology
and a collection of organ systemTermId
s.NOTE: the organ system
TermId
that is absent from theOntology
is disregarded and not used for validation.- Parameters:
hpo
- HPO ontologyorganSystemTermIds
- a collection of HPOTermId
s corresponding to organ systems.
-
familyHpoOrganSystemValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.FamilyOrBuilder> familyHpoOrganSystemValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aFamily
using providedOntology
and a collection of organ systemTermId
s.NOTE: the organ system
TermId
that is absent from theOntology
is disregarded and not used for validation.- Parameters:
hpo
- HPO ontologyorganSystemTermIds
- a collection of HPOTermId
s corresponding to organ systems.
-
cohortHpoOrganSystemValidator
public static PhenopacketValidator<org.phenopackets.schema.v2.CohortOrBuilder> cohortHpoOrganSystemValidator(org.monarchinitiative.phenol.ontology.data.Ontology hpo, Collection<org.monarchinitiative.phenol.ontology.data.TermId> organSystemTermIds) GetPhenopacketValidator
to validate annotation of organ systems in aCohort
using providedOntology
and a collection of organ systemTermId
s.NOTE: the organ system
TermId
that is absent from theOntology
is disregarded and not used for validation.- Parameters:
hpo
- HPO ontologyorganSystemTermIds
- a collection of HPOTermId
s corresponding to organ systems.
-