Calculate p-values for 2x3-way analysis
calc_stats_2x3(
data,
outcome,
group,
padj.method,
test = c("t.test", "wilcoxon"),
exact = FALSE
)
A list containing a data frame with summary statistics for the comparisons between the outcome, for each group level.
Dataframe or matrix with variables in columns and samples in rows
Factor with 2 levels
Factor with 3 levels
Can be "qvalue"
or any method available in p.adjust
.
The option "none"
is a pass-through.
Character value specifying the statistical test between the 2 level response outcome. Current options are "t.test" or "wilcoxon".
Logical for whether to use an exact test (Wilcoxon test only)