bh: bh: Wrapper for Benjamini Hochberg

Description Usage Arguments Value Examples

View source: R/simple_methods.R

Description

bh: Wrapper for Benjamini Hochberg

Usage

1
bh(unadj_p, alpha)

Arguments

unadj_p

Numeric vector of unadjusted p-values.

alpha

Significance level at which to apply method

Value

BH multiple testing object

Examples

1
2
3
     sim_df <- du_ttest_sim(20000,0.95, 1.5)
     obj <- bh(sim_df$pvalue, .1)
     sum(rejected_hypotheses(obj))

nignatiadis/IHWpaper documentation built on Jan. 18, 2021, 2:24 p.m.