bdp: obtain the peaks near bi-directional promoters

Description Usage Arguments Value Author(s) See Also Examples

View source: R/bdp.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
  if(interactive() || Sys.getenv("USER")=="jianhongou"){
    library(ensembldb)
    library(EnsDb.Hsapiens.v75)
    data("myPeakList")
    annoGR <- annoGR(EnsDb.Hsapiens.v75)
    seqlevelsStyle(myPeakList) <- seqlevelsStyle(annoGR)
    ChIPpeakAnno:::bdp(myPeakList, annoGR)
  }

LihuaJulieZhu/ChIPpeakAnno documentation built on Aug. 5, 2020, 12:02 a.m.