input data format for enricher() function
0
0
Entering edit mode
joseph ▴ 50
@joseph-5658
Last seen 7.1 years ago

When I'm using the enricher() to enrich my gene list, it always shown error msg as "Error in as.vector(x, mode) :
  cannot coerce type 'closure' to vector of type 'any' ".

The input gene ID is gene symbol, and character format, it looks like as below:

> str(list_GeneSymbol)
 chr [1:1106] "DUSP10" "CFAP20" "RGCC" "MYADM" "RGS1" "AAED1" "TRAF6" ...

egmt_kegg <- enricher(list_GeneSymbol, TERM2GENE = c_kegg,
                      pvalueCutoff = 0.05, pAdjustMethod = "BH", universe,
                      minGSSize = 10, maxGSSize = 500, qvalueCutoff = 0.2)

 

How could I fix it out? Thanks.

 

clusterProfiler • 1.2k views
ADD COMMENT
0
Entering edit mode

pls provide a reproducible example.

ADD REPLY

Login before adding your answer.

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