get_corrected_pval: Get Corrected P Value

View source: R/utility.R

get_corrected_pvalR Documentation

Get Corrected P Value

Description

The function applies a p-value correction (see Phipson & Smyth, 2010) for an empirical p-value obtained in the permutation procedures used in the package.

Usage

get_corrected_pval(statistic, null_dist)

Arguments

statistic

the statistic obtained from observed scores

null_dist

the null distribution to compare the statistic against

Value

The (one-sided) corrected p-vale


mufcItay/weaknull documentation built on Jan. 29, 2025, 7:28 p.m.