Reads in peaks in narrowpeaks format, as output by macs2. Uses summit as center of peak, and makes peak the given 'width'. By default removes overlapping peaks to get set of peaks with no overlaps

readNarrowpeaks(filename, width = 500, non_overlapping = TRUE)

Arguments

filename

filename

width

desired width of peaks

non_overlapping

remove overlapping peaks

Value

GRanges-class