generate_random_p_values: Generates a list of random p-values with mixed significant...

View source: R/helper.R

generate_random_p_valuesR Documentation

Generates a list of random p-values with mixed significant and insignificant values

Description

Generates a list of random p-values with mixed significant and insignificant values

Usage

generate_random_p_values(n, ratio_significant)

Arguments

n

number of samples

ratio_significant

fraction of p-values to be significant

Value

list of n randomly generated significant and insignificant p-values


corrmeta documentation built on May 29, 2024, 2:18 a.m.