public EnrichedRegion(SmoothingWindow window) { start = window.getStart(); stop = window.getStop(); }
// methods public String getBed5(int scoreIndex) { float score = bestWindow.getScores()[scoreIndex]; return chromosome + "\t" + start + "\t" + stop + "\t.\t" + score + "\t."; }
// constructors public EnrichedRegion(SmoothingWindow window, String chromosome) { chromosome = this.chromosome = chromosome; start = window.getStart(); stop = window.getStop(); bestWindow = window; }