Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statistics

The MVP performs standard one-sided over-representation analysis.

For each query and target term, the engine computes:

SymbolMeaning
Nbackground size
Ktarget size in background
nquery size in background
kquery-target overlap in background

The p-value is the right-tail hypergeometric probability:

P(X >= k), X ~ Hypergeometric(N, K, n)

This is equivalent to one-sided Fisher exact enrichment on the 2 x 2 table:

In targetNot in target
In querykn - k
Not in queryK - kN - K - n + k

Multiple Testing

The current correction choices are:

  • bonferroni: min(p * number_of_tests, 1);
  • none: report raw p-values as adjusted p-values.

For matrix runs, the Bonferroni denominator is the number of non-empty query by non-empty target tests.

Future Statistics

The code is structured so additional test families can be added without changing the data model:

  • Benjamini-Hochberg FDR;
  • ranked-list methods;
  • topology-aware parent-child methods;
  • elim and weight-style algorithms;
  • model-set approaches inspired by Ontologizer.