Skip to contents

Merge peaks according to ArchR's iterative merging algorithm. More details on the ArchR website

Usage

merge_peaks_iterative(peaks)

Arguments

peaks

Peaks given as GRanges, data.frame, or list. See help("genomic-ranges-like") for details on format and coordinate systems. Required attributes:

  • chr, start, end: genomic position

Must be ordered by priority and have columns chr, start, end.

Value

tibble::tibble() with a nonoverlapping subset of the rows in peaks. All metadata columns are preserved

Details

Properties of merged peaks:

  • No peaks in the merged set overlap

  • Peaks are prioritized according to their order in the original input

  • The output peaks are a subset of the input peaks, with no peak boundaries changed