Ttests.Anal: T-test

Description Usage Arguments Value Note See Also

Description

Performs group comparison. Creates a file with results: either "Wilcoxon_rank.csv" or "t_test.csv" depending on nonpar argument.

Usage

1
2
Ttests.Anal(dataSet, analSet, nonpar = FALSE, thresh = 0.05,
  paired = FALSE, var.equal = TRUE)

Arguments

dataSet

List, data set object generated by MS_to_MA function.

analSet

List, containing the results of statistical analysis (can be just an empty list).

nonpar

If FALSE - use classical t-test; if TRUE - Wilcoxon Rank Test

thresh

Threshold of significance.

paired

Are values in data set paired or not.

var.equal

Are variances assumed equal or not.

Value

Native analSet with one added $tt element consisting of:

Note

Note, for large data set (> 1000 variables), both the paired information and the group variance will be ignored, and the default parameters will be used for t-tests to save computational time. If you choose non-parametric tests (Wilcoxon rank-sum test), the group variance will be ignored.

See Also

PlotTT for plotting functions


flajole/MApckg documentation built on May 16, 2019, 1:16 p.m.