A thin wrapper around stats::p.adjust that defaults to the
Benjamini–Hochberg procedure. Useful for unifying multiple
testing adjustments across the package.
adjust_p(p_values, method = "BH")A numeric vector of adjusted p-values of the same length as
p_values.
A numeric vector of raw p-values.
A character string specifying the p‑value adjustment
method. Passed directly to p.adjust. Defaults to "BH"
(Benjamini–Hochberg). See p.adjust.methods for other
options.