scSemiProfiler.utils.
hypert
Returns the p-value of a hypergeometric test.
N (int) – Population size. In our case this is the total number of gene
int
n1 (int) – The number of element in the first set
n2 (int) – The number of element in the second set
k (int) – The number of overlap
mpmath.ctx_mp_python.mpf
pval – p-value
Example
>>> print(hypert(6000,100,100,97))