GenomicFeatures: How to extract a gene's upstream region of TSS up to the end position of the flanking (nearby) gene.
0
0
Entering edit mode
Wojeff • 0
@wojeff-14309
Last seen 4.5 years ago

Hi there, I wanted to extract the TSS up-stream region of each gene up to the end position (TTS) of the nearby gene. I only known the promoter function, but it seems can not deal with this problem. I could only get the GenomicRange object of  all genes from the gtf file by the following codes:

 

txDB <- makeTxDbFromGFF("test.gtf")

genes <-genes(txDB)

 

How to obtain my desired region for each gene?

genomicranges genomicfeatures promoter upstream_flank • 1.5k views
ADD COMMENT

Login before adding your answer.

Traffic: 399 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6