Takes the results of anova_test() and returns group comparison p-values
group_comparison_anova(
data,
groupData,
comparisons,
Xfull,
Xred,
anova_results_full,
beta_to_mu_full,
beta_to_mu_red
)
The expression values without the id column
data frame that assigns sample names to groups
dataframe that defines the comparsions of interest
design matrix for the full model with interaction terms between the main effects
design matrix for the reduced model with no interaction terms between the main effects
results of the pmartR::anova_test()
function
matrix that maps the beta coefficients to the group means for the full model
matrix that maps the beta coefficients to the group means for the reduced model
A data.frame containing the p-values from the group comparisons.