Ttests.Anal: Perform t-test analysis

View source: R/stats_univariates.R

Ttests.AnalR Documentation

Perform t-test analysis

Description

This function is used to perform t-test analysis.

Usage

Ttests.Anal(
  mSetObj = NA,
  nonpar = F,
  threshp = 0.05,
  paired = FALSE,
  equal.var = TRUE,
  pvalType = "fdr",
  all_results = FALSE
)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

nonpar

Logical, use a non-parametric test, T or F. False is default.

threshp

Numeric, enter the adjusted p-value (FDR) cutoff

paired

Logical, is data paired (T) or not (F).

equal.var

Logical, evaluates if the group variance is equal (T) or not (F).

pvalType

pvalType, can be "fdr" etc.

all_results

Logical, if TRUE, returns T-Test analysis results for all compounds.

Author(s)

Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Aug. 27, 2024, 2:58 a.m.