significantTests: Multiple tests correction

View source: R/stats.R

significantTestsR Documentation

Multiple tests correction

Description

Call significance tests after multiplicity correction based on various criteria (FWER, FDR) and various procedure for each of them.

Usage

significantTests(
  pvalues,
  thresh.fwer.bonf = c(0.01, 0.05, 0.1),
  thresh.fwer.sidak = c(0.01, 0.05, 0.1),
  thresh.fdr.bh = c(0.01, 0.05, 0.1),
  thresh.fdr.storey = NULL,
  pfdr = TRUE
)

Arguments

pvalues

vector of p values (can contain NA's)

thresh.fwer.bonf

if not NULL, vector of significance thresholds for the FWER criterion and the Bonferroni procedure

thresh.fwer.sidak

if not NULL, vector of significance thresholds for the FWER criterion and the Sidak procedure

thresh.fdr.bh

if not NULL, vector of significance thresholds for the FDR criterion and the Benjamini-Hochberg procedure

thresh.fdr.storey

if not NULL, vector of significance thresholds for the FDR criterion and the Storey procedure (via the qvalue package)

pfdr

logical passed to qvalue()

Value

list

Author(s)

Timothee Flutre

See Also

qqplotPval, binaryClassif, adjustPvaluesSidak


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.