adjust_p_value {permutest} | R Documentation |
Adjust p-values for multiple testing
Description
This function takes an array of p-values and returns adjusted p-values using user-inputted FWER or FDR correction method
Usage
adjust_p_value(pvalues, method = "holm-bonferroni")
Arguments
pvalues |
Array of p-values |
method |
The FWER or FDR correction to use, either 'holm-bonferroni', 'bonferroni', or 'benjamini-hochberg' |
Value
Adjusted p-values
Examples
adjust_p_value(pvalues = c(.05, .1, .5), method='holm-bonferroni')
[Package permutest version 1.0.0 Index]