metBarPlot: Creates a PDF file with barplots per each compound

Description Usage Arguments Value

View source: R/metBarPlot.R

Description

Creates a PDF file with barplots (Mean +- SD) per each compound and isotopologues using ggplot2

Usage

1
2
3
4
5
6
7
8
metBarPlot(
  autoQres = NULL,
  topdf = NULL,
  val.to.plot = "area",
  groups = c(),
  ylabel = NULL,
  ...
)

Arguments

autoQres

The data.frame result from autoQ or QTransform

topdf

File directory where the plot should be saved. If NULL plots will be sent to R plotting device

val.to.plot

Values to use for plotting. Either "area" or "maxo". If values were transformed with Qtransform, indicate the value used for transformation

groups

Sample groups. A vector of length equal to number of samples that will match the samples order

ylabel

Label for y axis in the plot. If not indicated, val.to.plot value will be used as default.

...

other arguments that will be passed to grDevices::pdf

Value

Barplots per each compound including deviation in each isotopologue.


jcapelladesto/isoSCAN documentation built on Jan. 30, 2022, 8:36 p.m.