Learn R Programming

MetaboAnalystR (version 2.0.0)

ANOVA2.Anal: Perform Two-way ANOVA

Description

Perform Two-way ANOVA

Usage

ANOVA2.Anal(mSetObj=NA, thresh=0.05, p.cor="fdr", type="time0", aov.type=1, use.interact=1)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

thresh

Input the p-value threshold

p.cor

Select method for p-value correction, bonferroni, holm or fdr

type

Select b to perform between-subjects ANOVA, and w for within-subjects ANOVA

aov.type

Specify 1 for ANOVA type 1, or 3 for ANOVA type 3

use.interact

Numeric, whether to consider interaction in two-way repeated ANOVA (1) or not (0).