| ora.render | R Documentation |
Render altered gene sets by over-representation analysis
ora.render(
ags,
fgs,
universe,
case_sensitive = FALSE,
n_cores = 1L,
verbose = TRUE
)
ags |
Named list of altered gene sets. |
fgs |
Named list of functional gene sets. |
universe |
Character vector of eligible gene or protein identifiers, or a positive integer giving only the universe size. An explicit vector is preferred. |
case_sensitive |
Use case-sensitive identifier matching. By default, identifiers in AGS, FGS, and the universe are matched case-insensitively. |
n_cores |
Positive integer number of worker processes. Independent FGS rows are distributed across workers when greater than one. |
verbose |
Report progress with |
Each AGS–FGS pair is tested with a two-sided Fisher exact test. BH adjustment is applied across all cells, after which depleted pairs (odds ratio below 1) receive q-value 1 to retain the enrichment-only convention used by NEArender.
A nearender_result. scores$odds_ratio contains Fisher-test
odds ratios. The identical master matrix is also available as
statistics$odds_ratio; other statistics are literal overlap counts
(n.actual), two-sided p-values, and enrichment q-values. No statistical
matrices occur at the result's top level. inputs records the analyzed
set names, sizes, and universe size.
nea.render(), ear(), gsva.render()
data("NEArender.test")
ags <- NEArender.test$AGS$CCLE[1:2]
fgs <- NEArender.test$FGS$Hallmarks[1:3]
universe <- unique(c(unlist(ags), unlist(fgs)))
ora <- ora.render(ags, fgs, universe, verbose = FALSE)
ora$scores$odds_ratio
ora$statistics$p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.