Description Usage Arguments Value
View source: R/statistical_tests.r
Perform a hypergeometric test, also known as the Fisher's exact test, on a 2x2 contingency table with the alternative hypothesis 'greater' . In this application, the test finds the probability that counts[1, 1] or more genes would be found to be annotated to a term (pathway), assuming the null hypothesis of genes being distributed randomly to terms.
1 | hypergeometric(counts)
|
counts |
A 2x2 numerical matrix representing a contingency table. |
a p-value of enrichment of genes in a term or pathway.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.