## Load required packages suppressPackageStartupMessages({ library(gprofiler2) })
## Import variables geneList <- strsplit(params$geneList, "\n")[[1]] organism <- params$organism significant <- eval(parse(text = params$significant)) alfa <- params$alfa database <- params$database
## Values of variables length(geneList) organism significant alfa database
## Start enrichment with gProfiler enrich <- gost( query = geneList, organism = organism, ordered_query = FALSE, significant = significant, user_threshold = alfa, correction_method = "gSCS", domain_scope = "annotated", sources = database, evcodes = TRUE )
## Show results enrich$result$query <- "" gostplot(enrich, capped = FALSE, interactive = FALSE)
## Save data files save(enrich, file = "enrichment.RData")
## Session info sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.