Example #1
0
 public ProteinListPanel getProteinListPanel(ExperimentPanel expPanel) {
   if (proteinListPanel == null) {
     proteinListPanel = new ProteinListPanel(expPanel);
     proteinListPanel.addProteinList(new ArrayList<Protein>(minProteins.values()), experimentSet);
     proteinListPanel.setName("Proteins (" + minProteins.size() + ")");
   }
   return proteinListPanel;
 }
Example #2
0
 public ProteinListPanel getProteinListPanel(ExperimentPanel expPanel, Set<String> proNameList) {
   ProteinListPanel proListPanel = new ProteinListPanel(expPanel);
   ArrayList<Protein> proList = new ArrayList<Protein>();
   for (String proName : proNameList) {
     proList.add(minProteins.get(proName));
   }
   proListPanel.addProteinList(proList, experimentSet);
   proListPanel.setName("Proteins (" + proList.size() + ")");
   return proListPanel;
 }