ora_gson: ora-gson

View source: R/ora_gson.R

ora_gsonR Documentation

ora-gson

Description

interal method for enrichment analysis

Usage

ora_gson(
  gene,
  pvalueCutoff,
  pAdjustMethod = "BH",
  universe = NULL,
  weight = NULL,
  minGSSize = 10,
  maxGSSize = 500,
  qvalueCutoff = 0.2,
  gson
)

Arguments

gene

a vector of entrez gene id.

pvalueCutoff

P-value cutoff.

pAdjustMethod

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

universe

background genes, default is the intersection of the 'universe' with genes that have annotations. Users can set options(enrichment_force_universe = TRUE) to force the 'universe' untouched.

weight

A named numeric vector of weights for background genes. If provided, Weighted ORA will be performed.

minGSSize

minimal size of each geneSet for analyzing

maxGSSize

maximal size of each geneSet for analyzing

qvalueCutoff

cutoff of qvalue

gson

A GSON object containing gene set information.

Details

using the hypergeometric model

Value

A enrichResult instance. 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"), and Storey q-values (via qvalue::qvalue()). If q-value estimation fails, qvalue remains NA. See ?as_enrichResult for the full column semantics.

Author(s)

Guangchuang Yu https://yulab-smu.top


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