GraphsBoxPvalue: Boxplots with p-values

Description Usage Arguments Details Value References Examples

Description

Display 4 variants of boxplots with p-values from t-test or Wilcoxon test in PDF files for every variable (metabolite) in data table separately.

Usage

1
2
GraphsBoxPvalue(data, name, groupnames, type = "par", tsf = "clr",
  QCs = FALSE)

Arguments

data

Data table with variables (metabolites) in columns. Samples in rows are sorted according to specific groups.

name

A character string or expression indicating a name of data set. It occurs in names of every ouput.

groupnames

A character vector defining specific groups in data. Every string must be specific for each group and they must not overlap.

type

Parametric ("par" - default) or nonparametric ("nonpar") test must be chosen.

tsf

Data transformation must be defined by "clr" (default), "log", "log10", "PQN", "lnPQN", "pareto" or "none". See Details.

QCs

logical. If FALSE (default) quality control samples (QCs) are automatically distinguished and skipped.

Details

Data transformation: with "clr" clr trasformation is used (see References), with "log" natural logarithm is used, with "log10" decadic logarithm is used, with "pareto" data are only scaled by Pareto scaling, with "PQN" probabilistic quotient normalization is done, with "lnPQN" natural logarithm of PQN transformed data is done, with "none" no tranformation is done.

Up to nine different groups can be distinguished in data.

Value

Boxplot graphs with p-values and stars representing p-values.

Excel file with medians and differences of these medians of all groups in data.

References

Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman & Hall Ltd., London (UK). p. 416.

Examples

1
2
3
4
data=metabol
name="Metabolomics"    #name of the project
groupnames=c("Con","Pat","QC")
GraphsBoxPvalue(data,name,groupnames)

AlzbetaG/Metabol documentation built on May 31, 2019, 12:39 a.m.