fisher_test | R Documentation |
Perform a Fisher's exact test. This formula is from https://www.pathwaycommons.org/guide/primers/statistics/fishers_exact_test/
fisher_test(set1_genes, set2_genes, all_genes, verbose = 0)
set1_genes |
A vector of characters of your resulting gene list |
set2_genes |
A vector of characters of a gene list you are comparing against |
all_genes |
A vector of characters of all the genes in your "universe". This should include all the genes in |
verbose |
Numeric |
A list of: pvalue
for the p-value,
set_bg_len
for the number of genes in all_genes
but not in set2_genes
,
set_overlap_len
for the number of genes in both set1_genes
and set2_genes
,
set1_len
for number of genes in set1_genes
, and
set2_len
for number of genes in set2_genes
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.