Depending upon the pval_adjust
method selected, the supplied p_values are compared against an adjusted pval_thresh
value or the provided
means are used to compute new statistics, p-values are computed and compared against the provided pval_thresh
. A data.frame
that indicates which
of the tests are significant, 1 if significant or 0 if insignificant. If means
is also provided and the p-value is signficant then the direction
of the change is indicated by the sign on 1, i.e., means<0 and p_value<pval_thresh will return -1, similarly for means>0.
p_adjustment_anova(
p_values,
diff_mean,
t_stats,
sizes,
pval_adjust_multcomp,
pval_adjust_fdr
)
A matrix (or data.frame
) of p-values to be adjusted.
A matrix (or data.frame
) of groups means that are to be compared
A matrix (or data.frame
) of t-test statistics resulting from from standard procedures
A matrix (or data.frame
) of group sizes
character vector specifying the type of multiple comparisons adjustment to implement. A NULL value corresponds to no adjustment. Valid options include: holm, bonferroni, dunnett, tukey or none.
character vector specifying the type of FDR adjustment to implement. A NULL value corresponds to no adjustment. Valid options include: bonferroni, BH, BY, fdr, or none.
a data frame with the following columns: group means, global G-test statistic and corresponding p-value