screen_min: ScreenMin multiple hypthesis testing for union hypothesis...

View source: R/screen_min.R

screen_minR Documentation

ScreenMin multiple hypthesis testing for union hypothesis tests

Description

ScreenMin multiple hypthesis testing for union hypothesis tests from Djordjilovic et al. (2018).

Usage

screen_min(
  p.tab,
  thresh = 0.05,
  reorder.rows = TRUE,
  prefix = NULL,
  adjust.method = "BH"
)

Arguments

p.tab

Numeric matrix with two columns of p-values. Each row is an analyte. No NA's allowed.

thresh

Numeric threshold, termed c in Djordjilovic et al. (2019). Min p-values > thresh are assigned adjusted p-values of one.

reorder.rows

Logical, should rows be reordered by p-value?

prefix

Character string to add to beginning of column names. NULL does not add a prefix.

adjust.method

Method used to adjust the p-values for multiple testing. Options, in increasing conservatism, include "none", "BH", "BY", and "holm". See p.adjust for the complete list of options. A NULL value will result in the default adjustment method, which is "BH".

References

Djordjilovic V, Page CM, Gran JM, Nost TH, Sandanger TM, Veierød MB, Thoresen M. Global test for high-dimensional mediation: Testing groups of potential mediators. Stat Med. 2019 Aug 15;38(18):3346-3360.


jdreyf/Hitman documentation built on April 12, 2025, 1:35 p.m.