How do I get groseq signal for each gene from groSeq in groHMM
1
2
Entering edit mode
Deleted ▴ 70
@jsalsager-14698
Last seen 11 months ago
United States

hello!

I worked my way through the tutorial for groHMM but I'm not sure how to get signal (RPKM, FPKM etc.) for each gene.  The tutorial just shows how to make graphs.

Thanks!

groSeq groHMM • 1.2k views
ADD COMMENT
3
Entering edit mode
@anushanagari-8496
Last seen 2.5 years ago
UT SOUTHWESTERN MEDICAL CENTER

Hello,

You can do that using the following extension to section 3.8 in the tutorial:

d <- calcNormFactors(d)
d_rpkm <- data.frame(rpkm(d,width(kgChr7),normalized.lib.sizes=TRUE))
gene_rpkm <- data.frame(kgChr7,kgLimit, d_rpkm)
head(gene_rpkm)

 

 

ADD COMMENT
0
Entering edit mode

Thank you again, I really appreciate your help!

ADD REPLY
0
Entering edit mode

Can I bug you with one final question?

If I wanted to export a similar file but using groHMM called transcripts rather than knownGenes, how would I change that code? I tried switching kgLimit with txLimit and ended up getting errors that I was combining a date.frame with different lengths.

Thanks so much for all your help!

Edit:

Would this work?

d_rpkm <- data.frame(rpkm(d,width(txFinal),normalized.lib.sizes=TRUE))
transcript_rpkm <- data.frame(txFinal, d_rpkm)
head(transcript_rpkm)
ADD REPLY

Login before adding your answer.

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