Enrichment analysis
enrichment(
hypeR_GEM_obj,
genesets,
genesets_name = "unknown",
method = c("unweighted", "weighted"),
weighted_by = "one_minus_fdr",
a = 1,
b = -1,
sigmoid_transformation = TRUE,
min_metabolite = 0,
background = 1234567
)an hypeR_GEM object, the output of "signature2gene" function
a list of genesets
name of the geneset,e.g "KEGG"
enrichment method
the column name in the gene_table of hypeR_GEM_obj that represents the weight of each gene
proportional to the smoothness of the sigmoid function, default a = 1
the half-point threshold of the sigmoid function, default b = -1 (p-value = 0.1 as half-point)
logical; when method == "weighted", if TRUE apply .sigmoid_transformation() to `weighted_by`; if FALSE use the raw values
minimum number of metabolite that drives the enrichment of a pathway
background parameter of hypergeometric test
a list of type of statistical test and data