コード例 #1
0
 public int getMaxThreshold(char str) {
   int max = 0;
   for (BackgroundModel m : models)
     if ((m.strand == str || str == '.') && m.getThreshold() > max) max = m.getThreshold();
   return max;
 }
コード例 #2
0
 // Print
 public void printThresholds() {
   for (BackgroundModel m : models) {
     System.out.println(m.modelType + "\t" + m.getThreshold() + "\t" + m.getStrand());
   }
 }
コード例 #3
0
 // Accessor
 public int getGenomicModelThreshold(String tType) {
   for (BackgroundModel m : models) if (m.isGenomeWide()) return m.getThreshold();
   return -1;
 }