How to get adjusted p values after "global" fdr correction in decideTests (limma)
1
0
Entering edit mode
@paolo-innocenti-2191
Last seen 10.2 years ago
Hi all, I used the option "global" in decideTests(), in order to correct for FDR taking into account my 3 contrasts simultaneously. The list of DE genes I got is longer than the one I get using "separate" option (and this should be ok, see here): http://thread.gmane.org/gmane.science.biology.informatics.conductor/17 847 Now, topTable and write.fit implement FDR adjustment with method "separate", so if I extract the p.values from these objects, some of them, in my situation, will be inevitably higher than 0.05. How can I get the correct p.values? Am I missing something obvious? Thanks in advance for any hints, paolo -- Paolo Innocenti Department of Animal Ecology, EBC Uppsala University Norbyv?gen 18D 75236 Uppsala, Sweden
• 1.9k views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 34 minutes ago
WEHI, Melbourne, Australia
Dear Paolo, What you say is correct. The only way to get the adjusted p-values to go with method="global" is adj.p <- p.adjust(fit$p.value, method="BH") where 'fit' is the fit object that you gave to decideTests(). Best wishes Gordon > Date: Wed, 23 Jul 2008 12:24:43 +0200 > From: Paolo Innocenti <paolo.innocenti at="" ebc.uu.se=""> > Subject: [BioC] How to get adjusted p values after "global" fdr > correction in decideTests (limma) > To: AAA - Bioconductor <bioconductor at="" stat.math.ethz.ch=""> > > Hi all, > > I used the option "global" in decideTests(), in order to correct for FDR > taking into account my 3 contrasts simultaneously. > > The list of DE genes I got is longer than the one I get using "separate" > option (and this should be ok, see here): > http://thread.gmane.org/gmane.science.biology.informatics.conductor/ 17847 > > Now, topTable and write.fit implement FDR adjustment with method > "separate", so if I extract the p.values from these objects, some of > them, in my situation, will be inevitably higher than 0.05. > > How can I get the correct p.values? > Am I missing something obvious? > > Thanks in advance for any hints, > paolo > > > > -- > Paolo Innocenti > Department of Animal Ecology, EBC > Uppsala University > Norbyv?gen 18D > 75236 Uppsala, Sweden
ADD COMMENT
0
Entering edit mode
That works! Thank you, paolo Gordon K Smyth wrote: > Dear Paolo, > > What you say is correct. The only way to get the adjusted p-values to > go with method="global" is > > adj.p <- p.adjust(fit$p.value, method="BH") > > where 'fit' is the fit object that you gave to decideTests(). > > Best wishes > Gordon > >> Date: Wed, 23 Jul 2008 12:24:43 +0200 >> From: Paolo Innocenti <paolo.innocenti at="" ebc.uu.se=""> >> Subject: [BioC] How to get adjusted p values after "global" fdr >> correction in decideTests (limma) >> To: AAA - Bioconductor <bioconductor at="" stat.math.ethz.ch=""> >> >> Hi all, >> >> I used the option "global" in decideTests(), in order to correct for FDR >> taking into account my 3 contrasts simultaneously. >> >> The list of DE genes I got is longer than the one I get using "separate" >> option (and this should be ok, see here): >> http://thread.gmane.org/gmane.science.biology.informatics.conductor /17847 >> >> Now, topTable and write.fit implement FDR adjustment with method >> "separate", so if I extract the p.values from these objects, some of >> them, in my situation, will be inevitably higher than 0.05. >> >> How can I get the correct p.values? >> Am I missing something obvious? >> >> Thanks in advance for any hints, >> paolo >> >> >> >> -- >> Paolo Innocenti >> Department of Animal Ecology, EBC >> Uppsala University >> Norbyv?gen 18D >> 75236 Uppsala, Sweden > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor -- Paolo Innocenti Department of Animal Ecology, EBC Uppsala University Norbyv?gen 18D 75236 Uppsala, Sweden
ADD REPLY

Login before adding your answer.

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