Learn R Programming

enrichit (version 0.1.2)

gsea_gson: gsea_gson

Description

generic function for gene set enrichment analysis

Usage

gsea_gson(
  geneList,
  gson,
  nPerm = 1000,
  exponent = 1,
  minGSSize = 10,
  maxGSSize = 500,
  pvalueCutoff = 0.05,
  pAdjustMethod = "BH",
  method = "multilevel",
  adaptive = FALSE,
  minPerm = 101,
  maxPerm = 1e+05,
  pvalThreshold = 0.1,
  verbose = TRUE,
  ...
)

Value

gseaResult object

Arguments

geneList

A named numeric vector of gene statistics (e.g., log fold change), ranked in descending order.

gson

A GSON object containing gene set information.

nPerm

Number of permutations for p-value calculation (default: 1000).

exponent

Weighting exponent for enrichment score (default: 1.0).

minGSSize

minimal size of each geneSet for analyzing

maxGSSize

maximal size of each geneSet for analyzing

pvalueCutoff

P-value cutoff.

pAdjustMethod

P-value adjustment method (e.g., "BH").

method

Permutation method.

adaptive

Logical. Use adaptive permutation.

minPerm

Minimum permutations for adaptive mode.

maxPerm

Maximum permutations for adaptive mode.

pvalThreshold

P-value threshold for early stopping.

verbose

Logical. Print progress messages.

...

Additional parameters passed to gsea()

Author

Guangchuang Yu