runFisherTests

runFisherTests(df, target, alternative = "two.sided")

Arguments

df

Binary feature columns and a binary target column

target

The above-mentioned binarized vector of AMR phenotypes

alternative

Type of Fisher test: "two.sided", "greater", or "less"

Value

A tibble with columns: gene, p_value