I am trying to get the promoters of a set of differentially expressed genes
0
0
Entering edit mode
5.0 years ago

I am trying to get the promoters of a set of differentially expressed genes (diff.expressed.genes.id)

dimdiff.expressed.genes.id)[1]

13003

txdb = TxDb.Hsapiens.UCSC.hg19.knownGene

txdb.genes = genes(txdb)

length(txdb.genes)

23056

diff.expressed.gene.promoters = promoters(txdb.genes[txdb.genes$gene_id %in% diff.expressed.genes.id$ENTREZID])

length(diff.expressed.gene.promoters)

7892.

In fact

table(txdb.genes$gene_id %in% diff.expressed.genes.id$ENTREZID)["TRUE"]

  1. What's wrong?

I was expecting (hoping) that length(diff.expressed.gene.promoters) is dimdiff.expressed.genes.id)[1]

13003 same as dimdiff.expressed.genes.id)[1]

thanks,

ChIP-Seq RNA-Seq • 660 views
ADD COMMENT

Login before adding your answer.

Traffic: 2203 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