Calculate Pathway Enrichments with a Fisher-Exact tests

calculate_pathway_enrichment_fisher(term_data, pathway_list, fdr_cutoff = 0.1)

Arguments

term_data

test statistics for a single term

pathway_list

a named list where names are pathways and entries are groupIds belonging to each pathway.

fdr_cutoff

minimum adjusted p-value to use for creating a the pathway summary plot.

Value

a list containing a tibble of enrichments