get_comparisons {pmartR}R Documentation

Return comparisons of statRes object

Description

This function returns comparisons from statRes or trelliData object

Usage

get_comparisons(compObj)

Arguments

compObj

is an object with the comparison attribute; specifically objects of class 'statRes' and 'trelliData' objects derived from 'statRes' objects in as.trelliData

Value

returns a data frame with comparisons and their indices

Examples


library(pmartRdata)

my_prodata = group_designation(
  omicsData = pro_object,
  main_effects = c("Phenotype")
)

imdanova_Filt = imdanova_filter(omicsData = my_prodata)

my_prodata = applyFilt(
  filter_object = imdanova_Filt,
  omicsData = my_prodata,
  min_nonmiss_anova = 2
)

imd_anova_res = imd_anova(
  omicsData = my_prodata,
  test_method = 'comb',
  pval_adjust_a_multcomp = 'bon',
  pval_adjust_g_multcomp = 'bon'
)

result = get_comparisons(imd_anova_res)


[Package pmartR version 2.4.5 Index]