Functional category enrichment odds
N genes total; s1 = # genes in a cluster; s2= # genes in a particular functional category (“success”); p = s2/N; N=s1+s2-x
Which odds of exactly x in that category in s1 trials?
Binomial: sampling with replacement.
or Hypergeometric: sampling without replacement:
Odds of getting exactly x = intersection of sets s1 & s2: