bdp {ChIPpeakAnno} | R Documentation

## obtain the peaks near bi-directional promoters

### Description

Obtain the peaks near bi-directional promoters. Also output percent of peaks near bi-directional promoters.

### Usage

    bdp (peaks, annoData, maxgap=2000L, ...)

### Arguments

`peaks` | peak list, GRanges object
`annoData` | annotation data, annoGR object
`maxgap` | maxgap between peak and TSS
`...` | Not used.

### Value

Output is a list of GRanges object of the peaks near bi-directional promoters.

### Author(s)

Jianhong Ou

### See Also

See Also as `annoPeaks`, `annoGR`

### Examples

      if(interactive()){
        library(EnsDb.Hsapiens.v75)
        data("myPeakList")
        annoGR <- annoGR(EnsDb.Hsapiens.v75)
        seqlevelsStyle(myPeakList) <- seqlevelsStyle(annoGR)
        bdp(myPeakList, annoGR)
      }

[Package ChIPpeakAnno version 3.12.7 Index]