smootherSpline {tofsims} | R Documentation |
generic smootherSpline
method smootherSpline for TIC
smootherSpline(object, stepsize = 5, spar = 0.3, ...) ## S4 method for signature 'MassSpectra' smootherSpline(object, stepsize = 5, spar = 0.3, ...)
object |
MassSpectra |
stepsize |
numeric arg for spline smoother |
spar |
numeric arg for spline smoother |
... |
additional args |
object of class MassSpectra with updated mass spectra
object of class MassSpectra
library(tofsimsData) data(tofsimsData) testSpectraSmooth <- smootherSpline(testSpectra) overlayPlot(list(testSpectra, testSpectraSmooth), mzRange = c(38.5, 40.5), type = 'l')