Entering edit mode
dds_selected$entrezid <- xy[rownames(dds_selected), 'ENTREZID']
head(dds_selected)
library(KEGGREST)
library(limma)
enrichKEGG(gene = dds_selected,
organism = "hsa",
pvalueCutoff = 0.05,
use_internal_data = TRUE)
enrichKEGG( gene = dds_selected,
organism = "hsa",
keyType = "kegg",
pvalueCutoff = 0.05,
pAdjustMethod = "BH",
universe,
minGSSize = 10,
maxGSSize = 500,
qvalueCutoff = 0.2,
use_internal_data = FALSE
)
When I run the above code I get:
Failed with error: ‘there is no package called ‘KEGG.db’’ Error in (function (cond) : error in evaluating the argument 'x' in selecting a method for function 'as.list': there is no package called ‘KEGG.db’
I am using Bioconductor version 3.15 and R version 4.2.1
