get_promoters_txdb {metagene} | R Documentation |
Extract Entrez genes promoters from TxDb object.
get_promoters_txdb(txdb, upstream = 1000, downstream = 1000)
txdb |
A valid |
upstream |
The number of nucleotides upstream of TSS. |
downstream |
The number of nucleotides downstream of TSS. |
A GRanges
object that contains the promoters infos.
## Not run: # require(TxDb.Hsapiens.UCSC.hg19.knownGene) txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene promoters_hg19 <- get_promoters_txdb(txdb) ## End(Not run)