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
that vignette is pretty old and was remove since BioC 2.14.
Please see also <A: Problem with BuildGOmap() in clusterProfiler>
Thanks a lot. Is there any new function for parsing GFF file?
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.