This should be fixed now. You can reinstall the R Package to add the referenceSets parameter.
# install.packages("devtools") # run if devtools not already installed
devtools::install_github("bzhanglab/WebGestaltR")
Example code for using the referenceSets parameter can be seen below:
library("WebGestaltR")
analyte_lists <- c("data/genes.txt","data/metabolite.txt")
analyte_types <- c("entrezgene", "hmdb")
referenceSets <- c("genome", "KEGG")
db <- "pathway_KEGG"
method = "ORA"
listNames <- c("gene", "metabolite")
WebGestaltRMultiOmics(enrichMethod = method, analyteListFiles = analyte_lists,
analyteTypes = analyte_types,
enrichDatabase = db, referenceSets = referenceSets,
projectName = "ORATEST", listNames = listNames,
sigMethod = "top", topThr = 50)