Simply closing peak merging
In the search for peak closures, there are two merging stages:
- peaks from the same interval are merged (inteval = passes above and below the threshold) - step 1.3
- peaks that are too close are merged - step 1.4 Wouldn't it be possible to merge these two steps and keep only the second?