getBioRegion | R Documentation |
prepare a bioregion of selected feature
getBioRegion(
TxDb = NULL,
upstream = 1000,
downstream = 1000,
by = "gene",
type = "start_site"
)
TxDb |
TxDb |
upstream |
upstream from start site or end site |
downstream |
downstream from start site or end site |
by |
one of 'gene', 'transcript', 'exon', 'intron' , '3UTR' , '5UTR', 'UTR' |
type |
one of "start_site", "end_site", "body" |
this function combined previous functions getPromoters(), getBioRegion() and getGeneBody() in order to solve the following issues.
(1) https://github.com/GuangchuangYu/ChIPseeker/issues/16
(2) https://github.com/GuangchuangYu/ChIPseeker/issues/87
The getBioRegion() function can prevoid a region of interest from
txdb
object. There are three kinds of regions, start_site
,
end_site
and body
.
We take transcript region to expain the differences of these three regions. tx: chr1 1000 1400.
body
region refers to the 1000-1400bp.
start_site
region with upstream = 100, downstream = 100
refers to 900-1100bp.
end_site
region with upstream = 100, downstream = 100
refers to 1300-1500bp.
GRanges object
Guangchuang Yu, Ming L
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.