Wraps `stats::p.adjust(p, method = "BH")`. Returns adjusted p-values in the same order as the input. Empty input -> empty output.
Examples
bh_fdr(c(0.001, 0.01, 0.05, 0.5))
#> [1] 0.00400000 0.02000000 0.06666667 0.50000000
Wraps `stats::p.adjust(p, method = "BH")`. Returns adjusted p-values in the same order as the input. Empty input -> empty output.
bh_fdr(c(0.001, 0.01, 0.05, 0.5))
#> [1] 0.00400000 0.02000000 0.06666667 0.50000000