How do I extract the p-value from runTest() in the TopGO package?
1
0
Entering edit mode
3.9 years ago
ktm • 0

I am testing a series of gene sets for GO-over-representation using the TopGO package. As algorithm I am using "weight01", statistic: fisher Once I have called runTest I generate the resultstable using the "GenTable()" function. The resulting table contains Go-terms, Term discription, number of anotations per tem, number of significant matches, expected and weightFisher. I would how ever like to be able to filter my data on the p-value per GO term. Do you know how to generate this from the test function?

R TopGo Statistics • 1.9k views
ADD COMMENT
0
Entering edit mode

I think, the column weightFisher contains the p-value.

ADD REPLY
1
Entering edit mode
3.9 years ago

Please read the manual, before using the package. Copy/pasted the manual ( https://bioconductor.org/packages/release/bioc/vignettes/topGO/inst/doc/topGO.pdf ):

For accessing the GO term’s p-values from a topGO result object the user should use the score functions

ADD COMMENT

Login before adding your answer.

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