public boolean passesGenomicThreshold(int count, char strand) { boolean pass = true; for (BackgroundModel m : models) { if (m.isGenomeWide() && m.getStrand() == strand) if (!m.passesThreshold(count)) pass = false; } return pass; }
public boolean passesAllThresholds(int count, char strand) { boolean pass = true; for (BackgroundModel m : models) { if (m.getStrand() == strand) if (!m.passesThreshold(count)) pass = false; } return pass; }