powered by
method smootherSpline for TIC
smootherSpline(object, stepsize = 5, spar = 0.3, ...)## S3 method for class 'MassSpectra': smootherSpline(object, stepsize = 5, spar = 0.3, ...)
## S3 method for class 'MassSpectra': smootherSpline(object, stepsize = 5, spar = 0.3, ...)
object of class MassSpectra
library(tofsimsData) data(tofsimsData) testSpectraSmooth <- smootherSpline(testSpectra) overlayPlot(list(testSpectra, testSpectraSmooth), mzRange = c(38.5, 40.5), type = 'l')
Run the code above in your browser using DataLab