
Run hypeR.GEM enrichment directly from SigRepo metabolomics signatures
runHyperGEM.RdResolves one or more metabolomics signatures from SigRepo and runs hypeR.GEM without requiring the user to call getSignature() manually first.
Usage
runHyperGEM(
conn_handler = NULL,
signature_id = NULL,
signature_name = NULL,
omic_signature = NULL,
genesets,
reference_key = NULL,
species = "human",
directional = TRUE,
merge = TRUE,
promiscuous_threshold = 10,
ensemble_id = FALSE,
background = NULL,
method = c("weighted", "unweighted"),
weighted_by = "one_minus_fdr",
min_metabolite = 1,
score_col = "score",
split_by_group = TRUE,
split_by_direction = TRUE,
verbose = TRUE
)Arguments
- conn_handler
An R object obtained from
SigRepo::newConnHandler(). Required unlessomic_signatureis supplied.- signature_id
One or more SigRepo signature IDs.
- signature_name
One or more SigRepo signature names.
- omic_signature
A single
OmicSignatureobject or a list ofOmicSignatureobjects.- genesets
A named list of genesets, a
hypeRgsetsobject, or ahypeRrgsetsobject.- reference_key
Optional metabolite identifier column to use for GEM mapping.
- species
Species passed to
hypeR.GEM::signature2gene(). Defaults to"human".- directional
Logical; whether to use directional mapping in
hypeR.GEM::signature2gene().- merge
Logical; whether to merge mapped metabolites in
hypeR.GEM::signature2gene().- promiscuous_threshold
Numeric threshold passed to
hypeR.GEM::signature2gene().- ensemble_id
Logical; passed to
hypeR.GEM::signature2gene().- background
Optional background passed to
hypeR.GEM.- method
One of
"weighted"or"unweighted".- weighted_by
Weighting field passed to
hypeR.GEM::enrichment()for weighted GEM analyses.- min_metabolite
Minimum metabolite count passed to GEM enrichment.
- score_col
Column containing directional scores in the metabolomics signature table.
- split_by_group
Logical; whether to split GEM signatures by
group_label.- split_by_direction
Logical; whether to split GEM signatures into up and down subsets when a numeric score column is available.
- verbose
Logical; whether or not to print diagnostic messages while retrieving signatures.