bdp | R Documentation |
Obtain the peaks near bi-directional promoters. Also output percent of peaks near bi-directional promoters.
bdp(peaks, annoData, maxgap = 2000L, ...)
peaks |
peak list, GRanges object |
annoData |
annotation data, annoGR object |
maxgap |
maxgap between peak and TSS |
... |
Not used. |
Output is a list of GRanges object of the peaks near bi-directional promoters.
Jianhong Ou
See Also as annoPeaks
, annoGR
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.