reCenterPeaks {ChIPpeakAnno} | R Documentation

## re-center the peaks

### Description

Create a new list of peaks based on the peak centers of given list.

### Usage

    reCenterPeaks(peaks, width=2000L, ...)

### Arguments

`peaks` | An object of GRanges or annoGR.
`width` | The width of new peaks
`...` | Not used.

### Value

An object of GRanges.

### Author(s)

Jianhong Ou

### Examples

        reCenterPeaks(GRanges("chr1", IRanges(1, 10)), width=2)

[Package ChIPpeakAnno version 3.22.4 Index]