@Test void testDiseasetoGene() { Multimap<TermId, TermId> diseaseMap = parser.getDiseaseToGeneIdMap(); Collection<TermId> genes = diseaseMap.get(TermId.of("OMIM:143890")); assertEquals(genes.size(), 7); }
public Multimap<TermId,TermId> getDiseaseToGeneIdMap() { return this.diseaseToGeneMap; }
HpoAssociationParser { public Multimap<TermId,TermId> getDiseaseToGeneIdMap() { return this.diseaseToGeneMap; } }
HpoAssociationParser { public Multimap<TermId,TermId> getDiseaseToGeneIdMap() { return this.diseaseToGeneMap; } HpoAssociationParser(String geneInfoPath,
                              String mim2geneMedgenPath,
                              String orphaToGenePath,
                              String phenotypeHpoaPath,
                              Ontology hpoOntology);  HpoAssociationParser(String geneInfoPath, String mim2geneMedgenPath, Ontology hpoOntology);  HpoAssociationParser(File geneInfoFile,
                              File mim2geneMedgenFile,
                              File orphaToGeneFile,
                              File phenotypeHpoaFile,
                              Ontology hpoOntology); }
HpoAssociationParser { public Multimap<TermId,TermId> getDiseaseToGeneIdMap() { return this.diseaseToGeneMap; } HpoAssociationParser(String geneInfoPath,
                              String mim2geneMedgenPath,
                              String orphaToGenePath,
                              String phenotypeHpoaPath,
                              Ontology hpoOntology);  HpoAssociationParser(String geneInfoPath, String mim2geneMedgenPath, Ontology hpoOntology);  HpoAssociationParser(File geneInfoFile,
                              File mim2geneMedgenFile,
                              File orphaToGeneFile,
                              File phenotypeHpoaFile,
                              Ontology hpoOntology); Map<TermId,DiseaseToGeneAssociation> getDiseaseToAssociationsMap(); Map<TermId,String> getGeneIdToSymbolMap(); Multimap<TermId,TermId> getDiseaseToGeneIdMap(); Multimap<TermId,TermId> getGeneToDiseaseIdMap(); List<HpoGeneAnnotation> getPhenotypeToGene(); void setTermToGene(Multimap<TermId, TermId> phenotypeToDisease); }
HpoAssociationParser { public Multimap<TermId,TermId> getDiseaseToGeneIdMap() { return this.diseaseToGeneMap; } HpoAssociationParser(String geneInfoPath,
                              String mim2geneMedgenPath,
                              String orphaToGenePath,
                              String phenotypeHpoaPath,
                              Ontology hpoOntology);  HpoAssociationParser(String geneInfoPath, String mim2geneMedgenPath, Ontology hpoOntology);  HpoAssociationParser(File geneInfoFile,
                              File mim2geneMedgenFile,
                              File orphaToGeneFile,
                              File phenotypeHpoaFile,
                              Ontology hpoOntology); Map<TermId,DiseaseToGeneAssociation> getDiseaseToAssociationsMap(); Map<TermId,String> getGeneIdToSymbolMap(); Multimap<TermId,TermId> getDiseaseToGeneIdMap(); Multimap<TermId,TermId> getGeneToDiseaseIdMap(); List<HpoGeneAnnotation> getPhenotypeToGene(); void setTermToGene(Multimap<TermId, TermId> phenotypeToDisease);  }