Package org.monarchinitiative.lirical.core.likelihoodratio
package org.monarchinitiative.lirical.core.likelihoodratio
Package with logic for calculation of likelihood ratios for phenotypic or genotypic test results.
- Author:
- Peter Robinson
-
ClassDescriptionThis class is responsible for calculating the likelihood ratio for genotypes, as described in the Material and Methods | Likelihood Ratio for Genotypes section of the LIRICAL manuscript.The enum for representing the type of the genotype likelihood ratio analysis performed for a gene.Results of genotype likelihood ratio evaluation for a single gene.For some calculations of the phenotype likelihood ratio, we need to traverse the graph induced by the HPO terms to which a disease is annotated.There are five possible ways that a query term can match a disease term.This class is designed to calculate the background and foreground frequencies of any HPO term in any disease (This is calculated by
PhenotypeLikelihoodRatio.initializeFrequencyMap()
and stored inPhenotypeLikelihoodRatio.hpoTerm2OverallFrequency
).