bh_fdr: False Discovery Threshold

Description Usage Arguments Value

View source: R/bh_fdr.R

Description

Determines the critical p-value for statistical significance using the Benjamini-Hochberg false-discovery rate (FDR) procedure.

NOTE: Significance is defined as P <= threshold, not <.

Usage

1
bh_fdr(pvals, fdr = 0.05)

Arguments

pvals

Vector of p-values.

fdr

False-discovery rate.

Value

Vector of p-values, sorted.


mattwarkentin/genetools documentation built on Nov. 4, 2019, 6:19 p.m.