It applies T test, U test, Anova or Kruskal-Wallis test over dataset features.

univariate(
  mRList = NULL,
  dirout = NULL,
  test_method = c("ttest", "Utest", "anova", "kruskal"),
  exp.levels = NULL,
  exp.factor = "class"
)

Arguments

mRList

mRList object

dirout

output directory

test_method

any between "ttest", "Utest", "anova" or "kruskal".

exp.levels

the levels to be considered in the column specified by exp.factor

exp.factor

column of mRList$sample_ann that defines the level for each sample

Value

mRList object with mRList$"testchosen" with univariate analysis

Details

In case of "anova", the results of stats::aov() will be analysed by stats::TukeyHSD()