replace_bg {exomePeak2} | R Documentation |
Replace the control regions with user provided background.
replace_bg(grl, bg, txdb)
grl |
A |
bg |
A |
txdb |
A |
A GRangesList
object.
The first portion is the exons regions that is not overlapped with annoation
.
If the resulting ranges have less number and width compared with what defined in cut_off_width
or cut_off_num
,
the exon regions of txdb will be returned as the background.
The second portion is the restructed user provided annotation with gene id annotated.