Class DifferentialDiagnosis
java.lang.Object
org.monarchinitiative.lirical.io.output.DifferentialDiagnosis
This class stores all the information we need for a detailed differential diagnosis -- the major
candidates. It is intended to be used as a Java Bean for the FreeMarker HTML template.
- Author:
- Peter Robinson
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected final org.monarchinitiative.phenol.annotations.formats.GeneIdentifier
protected static final String
protected final String
protected final List<VisualizableVariant>
-
Method Summary
-
Field Details
-
EMPTY_STRING
- See Also:
-
NOT_AVAILABLE
- See Also:
-
sampleId
-
geneId
protected final org.monarchinitiative.phenol.annotations.formats.GeneIdentifier geneId -
variants
-
-
Method Details
-
getSvg
-
getUrl
-
getGeneUrl
-
getVisualizableVariants
-
setAnchor
- Parameters:
a
- An HTML anchor that is used for the HTML template.
-
getAnchor
- Returns:
- An HTML anchor that is used for the HTML template.
-
hasGenotypeExplanation
public boolean hasGenotypeExplanation() -
getGenotypeExplanation
- Returns:
- An genotypeExplanation of how the genotype score was calculated (for the HTML template).
-
sampleId
-
getDiseaseName
-
getDiseaseCurie
-
getPretestprob
-
getPosttestprob
-
getCompositeLR
public double getCompositeLR() -
getEntrezGeneId
-
getGeneSymbol
-
hasVariants
public boolean hasVariants()The answer to this string is used by the FreeMarker template to determine whether or not to show a table with variants.- Returns:
- "yes" if this differential diagnosis has variants.
-
getRank
public int getRank()
-