Exemplo n.º 1
0
 public boolean underAllThresholds(int count, char strand) {
   boolean pass = true;
   for (BackgroundModel m : models) {
     if (m.getStrand() == strand) if (!m.underThreshold(count)) pass = false;
   }
   return pass;
 }
Exemplo n.º 2
0
 public boolean underGenomicThreshold(int count, char strand) {
   boolean pass = true;
   for (BackgroundModel m : models) {
     if (m.isGenomeWide() && m.getStrand() == strand) if (!m.underThreshold(count)) pass = false;
   }
   return pass;
 }
Exemplo n.º 3
0
 // Print
 public void printThresholds() {
   for (BackgroundModel m : models) {
     System.out.println(m.modelType + "\t" + m.getThreshold() + "\t" + m.getStrand());
   }
 }