Question: GenomicFeatures: How to extract a gene's upstream region of TSS up to the end position of the flanking (nearby) gene.
0
gravatar for wuzefeng2008
12 months ago by
wuzefeng20080 wrote:

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?

ADD COMMENTlink modified 12 months ago • written 12 months ago by wuzefeng20080
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 206 users visited in the last hour