# NOT RUN {
# Load example data
data(spectra) # list of MassSpectra class objects
# sqrt transformation and signal smoothing using UDWT
spectra <- transformIntensity(spectra, method = "sqrt")
spectra <- wavSmoothing(spectra, method = "SavitzkyGolay")
# }
Run the code above in your browser using DataLab