plotEICFit: Plot samples raw data and detected feature for a single ROI

Description Usage Arguments Value

View source: R/plotEICFit.R

Description

plot a ROI across multiple samples (x axis is RT, y axis is intensity). If curveFit is provided, the fitted curve for each sample is added.

Usage

1
2
plotEICFit(ROIDataPointSampleList, curveFitSampleList = NULL, rtMin = NULL,
  rtMax = NULL, sampling = 250, sampleColour = NULL, verbose = TRUE)

Arguments

ROIDataPointSampleList

(list) list of data.frame of raw data points for each sample (retention time "rt", mass "mz" and intensity "int" (as column) of each raw data points (as row)).

curveFitSampleList

(list) NULL or a list of peakPantheR_curveFit (or NA) for each sample

rtMin

(float) NULL or vector of detected peak minimum retention time (in sec)

rtMax

(float) NULL or vector ofdetected peak maximum retention time (in sec)

sampling

(int) Number of points to employ when plotting fittedCurve

sampleColour

(str) NULL or vector colour for each sample (same length as ROIDataPointSampleList, rtMin, rtMax)

verbose

(bool) if TRUE message when NA scans are removed

Value

Grob (ggplot object)


peakPantheR documentation built on May 1, 2019, 10:53 p.m.