limma decideTests results; how to get/sort most significant Genes?
1
0
Entering edit mode
bi_Scholar • 0
@bi_scholar-11572
Last seen 7.4 years ago

Hello,

I just started working with limma and so far followed the limma users-guide to recive a TestResults Object.
I've printed the results into a file using write.fit() and a question arose while looking at the data.

Say I was looking at differential expressed genes in samples X vs. Y.
From my understanding, the values in column Res.X-Y indicate significant differential expressed genes for given p-value and adjustment method, where for value 1, the gene is significantly more expressed in X etc..
 

Now, how do I sort those significant differentially expressed genes so my output ranges from most-significant to least-significant (within the as significant annotated ones).
Does it make sense to just sort by Coef.X-Y decreasing or p-value increasing?

Does it even make sense to treat as significant annotated genes differently?


I just started to deal with limma and (microarray data in general) during my current semester, so please go easy on me in case I missed something obvious.

Many thanks in advance!

limma decidetests • 1.6k views
ADD COMMENT
1
Entering edit mode
Axel Klenk ★ 1.0k
@axel-klenk-3224
Last seen 22 hours ago
UPF, Barcelona, Spain

 

Hello,

simply continue following the user's guide until you find limma's topTable() function

and make sure to read its help page to learn how to sort your results.

HTH.

ADD COMMENT
0
Entering edit mode

Hey Alex,
I've checked out topTable() and it is indeed what I was looking for. However, what if I choose 'global' as a method for decideTests() ? From my understanding, the Significant Genes found by topTable() and decideTests() could vary in this case.
As topTable() ranks Genes by F-Statistics, could I simply sort the Genes in TestResults by F-statistics and thus get the same ranking as in topTable() ?
 

ADD REPLY
0
Entering edit mode

in topTable, you can also use the sort.by function

so assuming you were writing your code it would be something along the lines of:

topTable(fit, number = Inf, sort.by = 'P', ....)
ADD REPLY

Login before adding your answer.

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