This adjustment function utilizes the comp_rawp_ss helper function to compare each row of the matrix sample p-values under alternative hypothesis to all the rows in the matrix of the p-values under the complete null.
adjp_wysd(
rawp.mat,
B,
Sigma,
t.df,
two.tailed,
cl = NULL,
verbose = TRUE,
updateProgress = NULL
)
a matrix of adjusted p-values
a matrix of raw p-values under H1. dimension: nrow = tnum, ncol = M
numer of WY permutations
correlation matrix of null p-values
degrees of freedom of null p-values
one or two-tailed test
cluster object for parallel computing
whether to print out messaging
function to update progress bar (only used for PUMP shiny app)