adjustMultipleTesting: Calculate adjusted pvalues

View source: R/adjustMultipleTesting.R

adjustMultipleTestingR Documentation

Calculate adjusted pvalues

Description

Calculate adjusted pvalues of multiple testing.

Usage

adjustMultipleTesting(pval_list, alpha)

Arguments

pval_list

Pvalues from multiple testing

alpha

threshold

Value

A list object, which contains the following two items:

  • Table A data frame object with columns of rank, pvals, adjusted_pvals and whether to reject null hypothesis.

  • Proportion The proportion of the tests that reject the null hypothesis H0 among all the tests.

Examples

file <- system.file(package="RgnTX", "extdata/multi_pvals.rds")
multi_pvals <- readRDS(file)
adjustMultipleTesting(multi_pvals[, 1], 0.05)

yue-wang-biomath/RgnTX documentation built on Aug. 24, 2023, 1:12 p.m.