コード例 #1
0
        //assumes peaks are sorted by peakrt
        void mark_overlaps_by_peak_rt(IList <PeaksUsedOrNot> peaks, PeakCoordSet peak_set, PeaksUsedOrNot p)
        {
            var overlap_bounds = peak_set.find_overlap_bounds_by_peak_rt_idx(p.p);

            for (int i = overlap_bounds.leftmost; i <= overlap_bounds.rightmost; i++)
            {
                peaks[i].used = true;
            }
        }
コード例 #2
0
 public static int CompByPeakRawHeight(PeaksUsedOrNot x, PeaksUsedOrNot y) => x.peak_raw_height.CompareTo(y.peak_raw_height);