Learn R Programming

ChIPpeakAnno (version 3.6.5)

reCenterPeaks: 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.

Examples

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

Run the code above in your browser using DataLab