limma; Only fit list of certain genes/ filter eSet
1
0
Entering edit mode
bi_Scholar • 0
@bi_scholar-11572
Last seen 8.0 years ago

Hello,

I got a list of genes (<1000) for which I want to perform DEG-Analysis. Since I'm only interested in certain genes, I want to filter out the rest to reduce false-negative results and get more information about the genes I'm actually interested in.

Is there a simple way to do this with limma, or can I somehow filter genes from a expression set? If I try to fit a exprs-Matrix instead of a exprs-Set, I'm excluding genenames, GO annotations, etc. which is very unpleasant.

Thanks in advance!
 

limma filter genelist differential gene expression • 1.5k views
ADD COMMENT
4
Entering edit mode
@gordon-smyth
Last seen 7 hours ago
WEHI, Melbourne, Australia

Yes, there's a simple way to do it. Just do the usual linear model analysis using all the expressed genes, not just your focus set of interest. Then make the topTable just for your set of interest:

topTable( fit[mygenes, ], coef=whatever)

where mygenes selects your genes of interest and "whatever" is the contrast you want to test for. mygenes can be a vector of row names, or a TRUE/FALSE vector, or a vector of row numbers.

ADD COMMENT
0
Entering edit mode

Perfect. Thanks alot!

ADD REPLY

Login before adding your answer.

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