Skip to contents

Utility method to to get p values via T-test.

Usage

met.GetTtestRes(
  mSetObj = NA,
  grp1,
  grp2,
  paired = FALSE,
  equal.var = TRUE,
  nonpar = F
)

Arguments

mSetObj

Enter the name of the created mSet object (see met.read_data).

grp1

(Character) Enter name of the first group for the contrast grp1 vs. grp2.

grp2

(Character) Enter name of the second group for the contrast grp1 vs. grp2.

paired

(Logical) Is the data paired (TRUE) or not (FALSE).

equal.var

(Logical) Is the group variance equal (TRUE) or not (FALSE).

nonpar

(Logical) Use a non-parametric test (TRUE) or not (FALSE).

Value

A data frame with T-test results.

Author

Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)