Class Lr2Svg
java.lang.Object
org.monarchinitiative.lirical.io.output.svg.Lirical2Svg
org.monarchinitiative.lirical.io.output.svg.Lr2Svg
This class creates an SVG file representing the results of likelihood ratio analysis of an HPO case.
- Author:
- Peter Robinson
-
Field Summary
Fields inherited from class org.monarchinitiative.lirical.io.output.svg.Lirical2Svg
BLACK, BLUE, BOX_HEIGHT, BOX_OFFSET, BRIGHT_GREEN, BROWN, DARKBLUE, GREEN, MIN_VERTICAL_OFFSET, ORANGE, RED, VIOLET
-
Constructor Summary
ConstructorDescriptionLr2Svg
(TestResult result, int rank, org.monarchinitiative.phenol.ontology.data.TermId diseaseId, String originalDiseaseName, org.monarchinitiative.phenol.ontology.data.MinimalOntology hpo, String symbol) Constructor to draw an SVG representation of the phenotype and genotype likelihood ratios -
Method Summary
Methods inherited from class org.monarchinitiative.lirical.io.output.svg.Lirical2Svg
prettifyDiseaseName, sortByValue, writeDiamond, writeDiamond, writeFooter
-
Constructor Details
-
Lr2Svg
public Lr2Svg(TestResult result, int rank, org.monarchinitiative.phenol.ontology.data.TermId diseaseId, String originalDiseaseName, org.monarchinitiative.phenol.ontology.data.MinimalOntology hpo, String symbol) Constructor to draw an SVG representation of the phenotype and genotype likelihood ratios- Parameters:
result
- The test resultrank
-diseaseId
- The current differential diagnosis id (e.g., OMIM:600123)originalDiseaseName
- The current differential diagnosis namehpo
- Reference to HPO ontologysymbol
- Gene symbol (if any, can be null)
-
-
Method Details
-
getSvgString
-
writeSvg
-
rank
public int rank()
-