Data Integrator (Python API)
Namespaces | Functions | Variables
Stats.py File Reference

Namespaces

 cls.Stats
 Collection of statistics tools.
 

Functions

def cls.Stats.ComputePValueFromSets (setA, setB, total, alternative=TEST_GREATER)
 Compute p-value based on the overlap of two sets and the total background. More...
 
def cls.Stats.ComputePValueFromMatrix (a, b, c, d, alternative=TEST_GREATER)
 Compute p-value using Fisher's exact test on a 2x2 contingency table: More...
 
def cls.Stats.PAdjust (p, method)
 Adjust p-values for multiple testing. More...
 

Variables

string cls.Stats.TEST_GREATER = "greater";
 
string cls.Stats.TEST_LESS = "less";
 
string cls.Stats.TEST_2SIDED = "two-sided";
 
string cls.Stats.MTEST_BONFERRONI = "bonferroni";
 
string cls.Stats.MTEST_BH = "benjamini-hochberg";