Last data update: 2014.03.03
|
R: Box plots of a specified metabolite across groups
MetBoxPlots | R Documentation |
Box plots of a specified metabolite across groups
Description
Produces box plots of a specified metabolite across groups.
Usage
MetBoxPlots(inputdata, metname, cols = NULL,
main = NULL, cex.main = NULL, ...)
Arguments
inputdata |
A data frame in the input data format. See metabolomics for details.
|
metname |
A character string with the name of the metabolite.
|
cols |
A character string indicating colours for the groups.
|
main |
A title for the plot.
|
cex.main |
Magnification of title relative to par()$cex .
|
... |
Other graphical parameters. See par .
|
Value
Returns box plots of a specified metabolite across groups.
Author(s)
Alysha M De Livera, Jairus B Bowne
Examples
data(treated)
treated.log<-LogTransform(treated)$output
dev.new()
MetBoxPlots(treated.log, "Suberate", col = c("blue", "red"),
main = "Suberate")
Results
|