mnsea: Multi-layer Network-based Gene Set Enrichment Analysis

View source: R/mnsea.R

mnseaR Documentation

Multi-layer Network-based Gene Set Enrichment Analysis

Description

Multi-layer Network-based Gene Set Enrichment Analysis

Usage

mnsea(
  seed_list,
  networks,
  couplings,
  gene_sets,
  mode = c("evidence", "signed"),
  layer_weights = NULL,
  collapse = c("weighted_mean", "sum", "mean", "max_abs"),
  target_layer = NULL,
  output_space = c("union", "gene"),
  p = 0.5,
  interlayer_strength = 1,
  specific_weight = FALSE,
  minGSSize = 10,
  maxGSSize = 500,
  threshold = 1e-09,
  maxIter = 100,
  verbose = TRUE,
  ...
)

Arguments

seed_list

named list of named numeric vectors, one per layer.

networks

named list of layer-specific networks.

couplings

data.frame of inter-layer edges.

gene_sets

list of gene sets.

mode

one of "evidence" or "signed".

layer_weights

optional named numeric vector.

collapse

one of "weighted_mean", "sum", "mean", or "max_abs".

target_layer

optional layer name to export scores from.

output_space

one of "union" or "gene".

p

restart probability.

interlayer_strength

global scaling factor for coupling edges.

specific_weight

logical.

minGSSize

minimal size of each gene set.

maxGSSize

maximal size of genes annotated for testing.

threshold

convergence threshold.

maxIter

maximal number of iterations.

verbose

logical.

...

additional arguments passed to gsea().

Value

A mnseaResult object. The result slot carries the three significance columns pvalue, p.adjust, and qvalue: raw nominal p-values, BH-style multiple-testing adjusted p-values (via stats::p.adjust(); default pAdjustMethod = "BH" when applicable), and Storey q-values (via qvalue::qvalue()). If q-value estimation fails, qvalue remains NA. See ?as_gseaResult for the full column semantics.


enrichit documentation built on Oct. 28, 2026, 9:07 a.m.