Learn R Programming

ChIPpeakAnno (version 3.6.5)

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

See Also

See Also as annoPeaks, annoGR

Examples

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

Run the code above in your browser using DataLab