smootherSpline: generic smootherSpline

Description Usage Arguments Value Examples

Description

generic smootherSpline

method smootherSpline for TIC

Usage

1
2
3
4
smootherSpline(object, stepsize = 5, spar = 0.3, ...)

## S4 method for signature 'MassSpectra'
smootherSpline(object, stepsize = 5, spar = 0.3, ...)

Arguments

object

MassSpectra

stepsize

numeric arg for spline smoother

spar

numeric arg for spline smoother

...

additional args

Value

object of class MassSpectra with updated mass spectra

object of class MassSpectra

Examples

1
2
3
4
library(tofsimsData) 
data(tofsimsData)
testSpectraSmooth <- smootherSpline(testSpectra)
overlayPlot(list(testSpectra, testSpectraSmooth), mzRange = c(38.5, 40.5), type = 'l')

tofsims documentation built on Nov. 8, 2020, 5:10 p.m.