<p>Hi!</p>

<p>I have a genelist from a KEGG pathway say TGFb signalling pathway, that has 80 genes in it (set A). and I have second list of genes with me which accounts for 45 genes (set B), and the overlap between the two sets is of 15 genes. </p>

<p>How can I get a p-value associated with this overlap?</p>

<p>Has anyone done this before?</p>

<p>I think, phyper of R can be applied to this .......</p>

<p>Thank you</p>

Please check these questions:

 - [Statistical measure of biological significance for overlapping genomic regions][1]
 - [How to compute gene enrichment P-value?  (significantly more than expected)][2]

 [1]: /p/8480/
 [2]: /p/66729/