GO enrichment analysis using R
2
0
Entering edit mode
7.0 years ago

Hey, I am new to R, but already have successfully used WGCNA package to get interesting modules. Problem is when I try to perform GO enrichment analysis I am always getting same error :

Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : object 'Ontology' not found

Could somebody help?

P.S. When I work with WGCNA and R I do step by step tutorial "Tutorial for the WGCNA package for R" by Peter Langfelder and Steve Horvath.

Thank You -DN

gene WGCNA R • 4.4k views
ADD COMMENT
0
Entering edit mode

Can you post the command resulting in the error, and the page and file of the tutorial you are using? I performed some analysis using the tutorial and never had problems, but maybe I didn't try the module you are trying.

ADD REPLY
0
Entering edit mode

I am sorry, I didn't try the module you are mentioning... maybe you might ask help to the authors?

ADD REPLY
0
Entering edit mode

I am getting same error message. Just wait for someone to help.

ADD REPLY
0
Entering edit mode
6.8 years ago
Vitis ★ 2.6k

I saw the same problem with the tutorial. I suspect the problem is with the "AnnotationDbi" package, or its incompatibility with WGCNA. I think the error message is saying there is no object or class called "Ontology" by AnnotationDbi. Indeed, this is true, there is no Ontology class in AnnotationDbi, only GOterm class, but for some reason, WGCNA is still trying to call Ontology from AnnotationDbi. However, I'm not using the most recent R and WGCNA. Maybe I'll try a clean R, that might fix the incompatibility here.

ADD COMMENT
0
Entering edit mode
6.6 years ago

WGCNA now suggests to use anRichment::enrichmentAnalysis. Tutorial here: https://labs.genetics.ucla.edu/horvath/htdocs/CoexpressionNetwork/GeneAnnotation/Tutorials/anRichment-Tutorial1.pdf

ADD COMMENT

Login before adding your answer.

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