Uses of Class
org.monarchinitiative.lirical.core.likelihoodratio.LrWithExplanation
Package
Description
A high-level representation of LIRICAL analysis.
Package with logic for calculation of likelihood ratios for phenotypic or genotypic test results.
-
Uses of LrWithExplanation in org.monarchinitiative.lirical.core.analysis
Modifier and TypeMethodDescriptionstatic TestResult
TestResult.of
(org.monarchinitiative.phenol.ontology.data.TermId diseaseId, double pretestProbability, List<LrWithExplanation> observedResults, List<LrWithExplanation> excludedResults, GenotypeLrWithExplanation genotypeLr) -
Uses of LrWithExplanation in org.monarchinitiative.lirical.core.likelihoodratio
Modifier and TypeMethodDescriptionLrWithExplanationFactory.create
(org.monarchinitiative.phenol.ontology.data.TermId term, LrMatchType matchType, double lr) LrWithExplanationFactory.create
(org.monarchinitiative.phenol.ontology.data.TermId queryTerm, org.monarchinitiative.phenol.ontology.data.TermId matchingTerm, LrMatchType matchType, double lr) PhenotypeLikelihoodRatio.lrForExcludedTerm
(org.monarchinitiative.phenol.ontology.data.TermId queryTid, InducedDiseaseGraph idg) Calculate and return the likelihood ratio of an EXCLUDED HPO feature tid in an individual with the disease "diseaseId"PhenotypeLikelihoodRatio.lrForObservedTerm
(org.monarchinitiative.phenol.ontology.data.TermId queryTid, InducedDiseaseGraph idg) Calculate and return the likelihood ratio of observing the HPO feature queryTid in an individual with the disease idg (note that the InducedDiseaseGraph contains information about the annotations of the disease that we use to calculate the likelihood ratios).static LrWithExplanation
LrWithExplanation.of
(org.monarchinitiative.phenol.ontology.data.TermId q, org.monarchinitiative.phenol.ontology.data.TermId m, LrMatchType mt, double lr, String explanation) Modifier and TypeMethodDescriptionint
LrWithExplanation.compareTo
(LrWithExplanation that) Sort theLrWithExplanation
objects in decreasing order according to likelihood ratio score.