clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

object 'GO2ONT' not found

Open NJU-Bio-Info opened this issue 3 years ago • 5 comments

Hi, when I use enrichGO to perform GO enrichment analysis, I had a bug: Error in get("GO2ONT", envir = GO_DATA) : object 'GO2ONT' not found and this bug I think it's ...time dependent? Because yesterday I can do this with no error.

the command I used:

enrichgo <- enrichGO(gene = genelist,
                     OrgDb = 'org.Hs.eg.db',
                     keyType = 'ENSEMBL',
                     ont = 'ALL',
                     readable = T)

the gene list I used:

[1] "ENSG00000286448" "ENSG00000178821" "ENSG00000285701" "ENSG00000116661"
  [5] "ENSG00000162438" "ENSG00000142615" "ENSG00000215704" "ENSG00000282143"
  [9] "ENSG00000236936" "ENSG00000219073" "ENSG00000201919" "ENSG00000142789"
 [13] "ENSG00000070886" "ENSG00000171517" "ENSG00000240038" "ENSG00000243480"
 [17] "ENSG00000237763" "ENSG00000234441" "ENSG00000174876" "ENSG00000227408"
 [21] "ENSG00000187733" "ENSG00000179914" "ENSG00000162877" "ENSG00000172554"
 [25] "ENSG00000231482" "ENSG00000226702" "ENSG00000229839" "ENSG00000230525"
 [29] "ENSG00000175497" "ENSG00000235026" "ENSG00000286557" "ENSG00000287149"
 [33] "ENSG00000185176" "ENSG00000219159" "ENSG00000184945" "ENSG00000216921"

and the clusterProfiler, org.Hs.eg.db I used:

> packageVersion('clusterProfiler')
[1] ‘4.2.2’
> packageVersion('org.Hs.eg.db')
[1] ‘3.14.0’

NJU-Bio-Info avatar May 20 '22 01:05 NJU-Bio-Info

@NJU-Bio-Info did you solve the problem? I experience the same , and wasn't able to resolve it so far. Though, a month ago everything worked fine.

ahryho avatar Jun 14 '22 08:06 ahryho

@huerqiang pls check whether this issue exists.

GuangchuangYu avatar Jun 15 '22 11:06 GuangchuangYu

same error I got today. I'd tried Ensembl or Entrez id in enrichGO() or gseGO(), but all of them can't work.

R version 4.1.3 clusterProfiler version 4.2.2

xcpanda avatar Jun 17 '22 07:06 xcpanda

Error in get("GO2ONT", envir = GO_DATA) : object 'GO2ONT' not found

packageVersion('org.Hs.eg.db') [1] ‘3.15.0’ packageVersion('clusterProfiler') [1] ‘4.4.4’

DittmanC avatar Aug 30 '22 12:08 DittmanC

@DittmanC Please try the Github version. If you still have this error, please send the data and the complete code to my email: [email protected]. And please DO NOT put the same comment in two issues.

huerqiang avatar Aug 30 '22 12:08 huerqiang