readNarrowpeaks {chromVAR} | R Documentation

## readNarrowpeaks

### Description

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

### Usage

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

### Arguments

`filename` | filename
`width` | desired width of peaks
`non_overlapping` | remove overlapping peaks

### Value

`GRanges-class`

[Package chromVAR version 1.2.0 Index]