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.
pls provide a reproducible example.