MmsPlot: Mean, Median, Standard deviation plot

Description Usage Arguments Value Author(s) Examples

View source: R/MmsPlot.R

Description

Produces a plot showing the mean, median and standard deviation of samples or metabolites.

Usage

1
2
MmsPlot(inputdata, variables = c("samples", "metabolites"), refvec = NULL, 
    main = "Mean, Median and Standard Deviation", ...)

Arguments

inputdata

A data frame in the input data format. See metabolomics for details.

variables

A character string indicating whether the samples or the metabolites should be plotted.

refvec

A vector of reference values to be plotted, such as an internal standard or sample weights.

main

A title for the plot.

...

Other graphical parameters. See par.

Value

A plot showing the mean, median and standard deviation of samples or metabolites and an object of class results.

Author(s)

Alysha M De Livera, Jairus B Bowne

Examples

1
2
3
4
    data(treated)
    treated.log<-LogTransform(treated)$output 
    MmsPlot(treated.log)
    MmsPlot(treated.log, refvec = treated.log[, 2])

metabolomics documentation built on May 29, 2017, 3:32 p.m.