fishers_exact()
Perform Fisher’s exact test. Tests all columns in a 1 VS rest scheme.
df – A contingency table as DataFrame, with groups in the rows and values in the columns.
DataFrame
alternative –
The alternative for the test. Can also be a list of alternatives. Available are:
’greater’
’less’
’two-sided’
An DataFrame containing the enrichment p-values.