How to use clusterProfiler to do GO enrichment analysis with unsupported organisms
1
0
Entering edit mode
Didi ▴ 10
@didi-10905
Last seen 2.8 years ago
Spain

Hi,

Following an old vignette on "How to use clusterProfiler to do GO enrichment analysis with unsupported organisms" I've got this error. 

library(clusterProfiler)
> Gff2GeneTable("all.gff3", compress=T)
Reading all.gff3: found 813788 rows with classes: character, character, character, integer, integer, character, character, character, character 
Error in merge.data.frame(GeneID, geneInfo, by.x = "GeneID", by.y = "GeneID") : 
  negative length vectors are not allowed

My aim is to use buildGOmap to prepare the annotation files for enrichGO function.

Thanks a lot.

D

clusterprofiler go Gff2GeneTable buildgo unsupported organisms • 2.5k views
ADD COMMENT
0
Entering edit mode

that vignette is pretty old and was remove since BioC 2.14.

Please see also <A: Problem with BuildGOmap() in clusterProfiler>

ADD REPLY
0
Entering edit mode

Thanks a lot. Is there any new function for parsing GFF file?

ADD REPLY
0
Entering edit mode

No. This function is previous design for translating gene ID for bacteria only and not well tested. I think I should remove it from future release.
 

ADD REPLY
0
Entering edit mode
Didi ▴ 10
@didi-10905
Last seen 2.8 years ago
Spain

Thanks again. 

Sorry again. Is there any way to use the enrichGO function for unsupported organisms. I also want to use the ontology argument. You said that the go2ont and go2term helper functions may help the separate GO sub_ontology and prepare TERM2NAME data.frame but I couldn't figure out how.

ADD COMMENT

Login before adding your answer.

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