Learn R Programming

MetaboAnalystR (version 2.0.0)

PlotEIC: Plot EIC This functionn creates an extracted ion chromatogram (EIC) for a specific m/z and retention time. This is used for quality-control of raw m/s data.

Description

Plot EIC This functionn creates an extracted ion chromatogram (EIC) for a specific m/z and retention time. This is used for quality-control of raw m/s data.

Usage

PlotEIC(raw_data, rt_mn, rt_mx, mz_mn, mz_mx, aggreg = "sum",
  format = "png", dpi = 72, width = 9)

Arguments

raw_data

The object created using the InspectRawMSData function, containing the raw MS data.

rt_mn

Numeric, specify the minimum bound of the retention time range.

rt_mx

Numeric, specify the maximum bound of the retention time range.

mz_mn

Numeric, specify the minimum bound of the m/z range.

mz_mx

Numeric, specify the maximum bound of the m/z range.

aggreg

Character, if "sum", creates a total ion chromatogram. If "max", creates a base peak chromatogram. By default it is set to "sum".

format

Character, input the format of the image to create.

dpi

Numeric, input the dpi of the image to create.

width

Numeric, input the width of the image to create.