This function plots baseline correction for several iterations on the spectral data to determine the optimal number of iterations
1 | iterationsplot(mdq, itervect, method = "SNIP", plotlegend = TRUE, ...)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.