runFishers

runFishers(
  matrix_path,
  Q = 0.05,
  alternative = "two.sided",
  susceptible_label = "Susceptible",
  resistant_label = "Resistant"
)

Arguments

matrix_path

Path to the long sparse Parquet matrices

Q

FDR cutoff for Benjamini Hochberg correction (default = 0.05)

alternative

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

susceptible_label

"Susceptible" phenotype label in the data

resistant_label

"Resistant" phenotype label in the data

Value

The Fisher test results, BH correction, and feature frequencies