testAnovaModels: Applies a statistical test on each element of a list of...

View source: R/anova_analysis.R

testAnovaModelsR Documentation

Applies a statistical test on each element of a list of linear models

Description

Applies a statistical test on each element of a list of linear models

Usage

testAnovaModels(aov_fits, test = "Omnibus")

Arguments

aov_fits

a list of linear models, such as those outputted by applyAnovasOnProteins

test

a character string among "Omnibus", "TukeyHSD", "TukeySinglestep", "TukeyStepwise", "TukeyNoMTC", "DunnettSinglestep", "DunnettStepwise" and "DunnettNoMTC". "Omnibus" tests the all-mean equality, the Tukey tests compares all pairs of means and the Dunnet tests compare all the means to the first one. For multiple tests (Dunnet's or Tukey's) it is possible to correct for multiplicity (either with single-step or step-wise FWER) or not. All the Tukey's and Dunnet's tests use the multcomp package expect for "TukeyHSD" which relies on the stats package. "TukeyHSD" and "TukeyStepwise" gives similar results.

Value

a list of 2 tables (p-values and fold-changes, respecively)

Author(s)

Thomas Burger

Examples

data(Exp1_R25_prot, package='DAPARdata')
exdata <- Exp1_R25_prot[1:5,]
testAnovaModels(applyAnovasOnProteins(exdata))


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.