met.GetTtestRes: Used by higher functions to retrieve T-test p-values

met.GetTtestResR Documentation

Used by higher functions to retrieve T-test p-values

Description

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(s)

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

References

adapted from GetTtestRes (https://github.com/xia-lab/MetaboAnalystR).


NicWir/VisomX documentation built on Dec. 8, 2024, 1:27 a.m.