| aggregate_omics | R Documentation |
Aggregate multi-omics or multi-source statistics into a unified object for downstream enrichment analysis.
aggregate_omics(
x,
method = c("fisher", "stouffer", "brown", "mean", "weighted_mean", "max_abs"),
input = c("pvalue", "signed_score"),
feature_type = "gene",
conflict_policy = c("keep_all", "strict", "penalty"),
...
)
x |
A list of named numeric vectors, a data.frame, or a matrix. Row names (or names for vectors) must represent feature IDs. |
method |
Character, aggregation method. One of "fisher", "stouffer", "mean", or "max_abs". |
input |
Character, input type. One of "pvalue" or "signed_score". |
feature_type |
Character, type of the features (e.g., "gene", "protein"). Default is "gene". |
conflict_policy |
Character, strategy to handle directional conflicts when input is "signed_score". One of "keep_all" (default, ignore conflicts), "strict" (set to NA if any signs conflict), or "penalty" (divide final score by 2 if signs conflict). |
... |
Additional arguments. |
An object of class omics_aggregated containing score, pvalue (if input is "pvalue"), input_type, feature_type, and feature_id.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.