How can I do the "fdr" mutiple test correction to the GO enrichment results from "TopGO" ?
1
2
Entering edit mode
9.5 years ago
dukecomeback ▴ 40

It seems that the multiple test for the GO enrichment result is important. However, the TopGO didn't do that, so I decide to do that by myself. The delemma looks like this: fdr correction with p.adjust() in R need the complete GO enrichment result, whereas the GenTable(,topNodes =N) in TopGO only give out the top N result. So how can I do the "fdr" mutiple test correction to the GO enrichment results from "TopGO"?

Sincerely

R • 6.6k views
ADD COMMENT
1
Entering edit mode

p.adjust only needs a vector of p-values which you can get from the TopGO results. Read the doc: http://www.bioconductor.org/packages/release/bioc/vignettes/topGO/inst/doc/topGO.pdf

ADD REPLY
7
Entering edit mode
9.5 years ago
komal.rathi ★ 4.1k

Instead of specifying topNodes to some value N, you can get all available GO Terms using:

allGO = usedGO(object = GOdata) 
# use it in GenTable as follows:
GenTable(GOdata, ... ,topNodes = length(allGO))

Then you can go about doing your p-value adjustment.

ADD COMMENT
0
Entering edit mode

Thank you for all of your help. Finally, the topNodes = length(allGO) from komal.rathi helped me out.

ADD REPLY

Login before adding your answer.

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