Making a table of RNA seq results
2
1
Entering edit mode
6.1 years ago
tw617 ▴ 40

I used exacttest (edgeR) on some RNA seq data. I need to make a table that depicts the 10 genes with the smallest q- values, their log fold change, and their raw expression values. I have the q-values stored in a numeric vector, the fold change can be found by using exacttest$table$logFC, and I have the raw expression values .

I am not sure how to put all of these together in a table and sort them. I tried sorting the q-values using sort(qvalues), this certainly displays the top 10 smallest qvalues but in the vector they are not associated with a gene ID so I don't think I can do this. Any ideas on how to do this?

Thanks

R RNA-Seq edgeR • 1.3k views
ADD COMMENT
1
Entering edit mode
6.1 years ago
tw617 ▴ 40

I solved this problem. I made a data frame and sorted it by qvalues using order.

ADD COMMENT
0
Entering edit mode
6.1 years ago
h.mon 35k

Why you have a vector of q-values? exacttest output already includes multiple testing correction - the exacttest$table$FDR column. You can find and extract the function topTags.

ADD COMMENT
0
Entering edit mode

Thank you for the reply, I solved my problem in the meantime. I had to do it this certain way as part of an assignment. I don't see $FDR as an option, perhaps I need to load another package to have that feature?

ADD REPLY

Login before adding your answer.

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