@Test public void testAdjacencyMatrix() { SIFSearcher searcher = new SIFSearcher(SIFEnum.CONTROLS_STATE_CHANGE_OF, SIFEnum.CHEMICAL_AFFECTS); AdjacencyMatrix matrix = searcher.searchSIFGetMatrix(model_P53); System.out.println(matrix); Assert.assertTrue(matrix.names.length > 0); }
public AdjacencyMatrix searchSIFGetMatrix(Model model) { Set<SIFInteraction> sifInts = searchSIF(model); return new AdjacencyMatrix( SIFInteraction.convertToAdjacencyMatrix(sifInts), SIFInteraction.getSortedGeneNames(sifInts)); }
SIFSearcher { public AdjacencyMatrix searchSIFGetMatrix(Model model) { Set<SIFInteraction> sifInts = searchSIF(model); return new AdjacencyMatrix( SIFInteraction.convertToAdjacencyMatrix(sifInts), SIFInteraction.getSortedGeneNames(sifInts)); } }
SIFSearcher { public AdjacencyMatrix searchSIFGetMatrix(Model model) { Set<SIFInteraction> sifInts = searchSIF(model); return new AdjacencyMatrix( SIFInteraction.convertToAdjacencyMatrix(sifInts), SIFInteraction.getSortedGeneNames(sifInts)); } SIFSearcher(SIFType... types);  SIFSearcher(SIFMiner... miners);  SIFSearcher(IDFetcher idFetcher, SIFType... types);  SIFSearcher(IDFetcher idFetcher, SIFMiner... miners); }
SIFSearcher { public AdjacencyMatrix searchSIFGetMatrix(Model model) { Set<SIFInteraction> sifInts = searchSIF(model); return new AdjacencyMatrix( SIFInteraction.convertToAdjacencyMatrix(sifInts), SIFInteraction.getSortedGeneNames(sifInts)); } SIFSearcher(SIFType... types);  SIFSearcher(SIFMiner... miners);  SIFSearcher(IDFetcher idFetcher, SIFType... types);  SIFSearcher(IDFetcher idFetcher, SIFMiner... miners); void setBlacklist(Blacklist blacklist); AdjacencyMatrix searchSIFGetMatrix(Model model); Set<SIFInteraction> searchSIF(final Model model); boolean searchSIF(Model model, OutputStream out); boolean searchSIF(Model model, OutputStream out, SIFToText stt); }
SIFSearcher { public AdjacencyMatrix searchSIFGetMatrix(Model model) { Set<SIFInteraction> sifInts = searchSIF(model); return new AdjacencyMatrix( SIFInteraction.convertToAdjacencyMatrix(sifInts), SIFInteraction.getSortedGeneNames(sifInts)); } SIFSearcher(SIFType... types);  SIFSearcher(SIFMiner... miners);  SIFSearcher(IDFetcher idFetcher, SIFType... types);  SIFSearcher(IDFetcher idFetcher, SIFMiner... miners); void setBlacklist(Blacklist blacklist); AdjacencyMatrix searchSIFGetMatrix(Model model); Set<SIFInteraction> searchSIF(final Model model); boolean searchSIF(Model model, OutputStream out); boolean searchSIF(Model model, OutputStream out, SIFToText stt);  }