plotChromatogram: Plot ion chromatogram

plotChromatogramR Documentation

Plot ion chromatogram

Description

Plot ion chromatogram from MetaboProfile.

Usage

plotChromatogram(
  processed_data,
  cls = NULL,
  group = FALSE,
  alpha = 1,
  aggregationFun = "max",
  ...
)

## S4 method for signature 'MetaboProfile'
plotChromatogram(
  processed_data,
  cls = NULL,
  group = FALSE,
  alpha = 1,
  aggregationFun = "max",
  ...
)

Arguments

processed_data

S4 object of class MetaboProfile

cls

sample information column to use for plot colours.

group

average samples within groups. If cls is NULL, plot average chromatogram across all samples.

alpha

plot line transparancy alpha

aggregationFun

value to pass to xcms::chromatogram() for chromatogram type. Defaults to base peak ("max").

...

arguments to pass to erah::plotChr()


jasenfinch/profilePro documentation built on Feb. 2, 2023, 9:19 p.m.