Function to take raw output of `imd_anova` and create output for `statRes` object

statRes_output(
  imd_anova_out,
  omicsData,
  comparisons,
  test_method,
  pval_adjust_a_multcomp,
  pval_adjust_g_multcomp,
  pval_adjust_a_fdr,
  pval_adjust_g_fdr,
  pval_thresh
)

Arguments

imd_anova_out

data frame containing the results of the imd_anova call.

omicsData

pmartR data object of any class, which has a `group_df` attribute that is usually created by the `group_designation()` function

comparisons

character vector of comparison names, e.g. c("A_vs_B", "B_vs_C", ...)

test_method

test method used ("anova", "gtest", or "combined")

pval_adjust_a_multcomp

character string specifying which type of multiple comparison adjustment was implemented for ANOVA tests. Valid options include: "bonferroni", "holm", "tukey", and "dunnett".

pval_adjust_g_multcomp

character string specifying which type of multiple comparison adjustment was implemented for G-tests. Valid options include: "bonferroni" and "holm".

pval_adjust_a_fdr

character string specifying which type of FDR adjustment was implemented for ANOVA tests. Valid options include: "bonferroni", "BH", "BY", and "fdr".

pval_adjust_g_fdr

character string specifying which type of FDR adjustment was implemented for G-tests. Valid options include: "bonferroni", "BH", "BY", and "fdr".

pval_thresh

numeric p-value threshold value

Value

object of class statRes