private LocusScore getCompositeScore(Accumulator accumulator, int accumulatedStart, int accumulatedEnd) { LocusScore ls; if (accumulator.getNpts() == 1) { ls = new NamedScore(accumulatedStart, accumulatedEnd, accumulator.getRepData()[0], accumulator.getRepProbes()[0]); } else { float value = accumulator.getValue(); ls = new CompositeScore(accumulatedStart, accumulatedEnd, value, accumulator.getRepData(), accumulator.getRepProbes(), windowFunction); } return ls; }
private LocusScore getCompositeScore(Accumulator accumulator, int accumulatedStart, int accumulatedEnd) { LocusScore ls; if (accumulator.getNpts() == 1) { ls = new NamedScore(accumulatedStart, accumulatedEnd, accumulator.getRepData()[0], accumulator.getRepProbes()[0]); } else { float value = accumulator.getValue(); ls = new CompositeScore(accumulatedStart, accumulatedEnd, value, accumulator.getRepData(), accumulator.getRepProbes(), windowFunction); } return ls; }