iterationsplot: Plot the effect of iterations on baseline correction

Description Usage Arguments

View source: R/mq_iter_plot.R

Description

This function plots baseline correction for several iterations on the spectral data to determine the optimal number of iterations

Usage

1
iterationsplot(mdq, itervect, method = "SNIP", plotlegend = TRUE, ...)

Arguments

mdq

a MALDIquant::MassSpectrum (trimmed to relevant wavelengths)

itervect

a numeric vector of different iteration options (max. 11 values)

method

one of "SNIP", "TopHat", "ConvexHull" or "median" for baseline estimation by MALDIquant::estimateBaseline (see ?MALDIquant::estimateBaseline). defaults to "SNIP".

plotlegend

a boolean indicating wether or not to include a legend in lower left corner (defaults to TRUE)

...

additional parameters passed on to plot or lines


CMET-UGent/MicroRaman documentation built on July 25, 2020, 6:20 p.m.