Hi all,
I am doing a enrichment analysis of a list of genes gathered from previous WGCNA analysis. When I run the enrichGO function on my gene list however, nothing happens. There is no verbose output and the result is a NULL valued object.
I have researched a bit about how to correct this and removed any pvalue cutoffs that may prevent ontologies from being discovered. These are all the libraries and variables as well as what is in my original gene list object. I am using R version 4.4.0
library(clusterProfiler)
library(enrichplot)
library(ggplot2)
library(DOSE)
organism = "org.At.tair.db"
head(gene_list)
> head(gene_list)
x
AT5G14210 0.9857885
AT5G66950 0.9841047
AT1G05805 0.9823505
AT2G38970 0.9808063
AT5G56530 0.9803802
AT2G32560 0.9803239
Below is the function call and all arguments used as the resulting output. The output is the same regardless of if I specify a pvalue cut off or not.
ego <- enrichGO(gene=gene_list,
OrgDb= organism,
ont= "ALL",
keyType = "TAIR",
pAdjustMethod = "none",
pvalueCutoff = 1,
qvalueCutoff = 1,
minGSSize =1)
ego
head(summary(ego))
> ego
NULL
> head(summary(ego))
Length Class Mode
0 NULL NULL
Any and all help in explaining why the function is not calling appropriately would be greatly appreciated. I am certain that the input data is in the correct format and believe I am missing something with the function itself. Thank you!