PlotEIC: Plot EIC

Description Usage Arguments

View source: R/preproc_utils.R

Description

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 ImportRawMSData 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.


xia-lab/MetaboAnalystR3.0 documentation built on May 6, 2020, 11:03 p.m.