Thanks,
Im using same command, but got following errors
data<-read.delim("input.txt")
genes<-data$gene[abs(data$logFC)>2]
ego <- enrichGO(genes , organism= "human", ont= "CC", pAdjustMethod = "BH", pvalueCutoff = 0.1,qvalueCutoff = 0.5, readable= TRUE)
ego
[1] NA
also used
ego <- enrichGO(genes , organism= "human", ont= "CC", pAdjustMethod = "BH", readable= TRUE)
ego
[1] NA
cnetplot(ego, categorySize="pvalue", foldChange=genes)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘cnetplot’ for signature ‘"logical"’