Description Usage Arguments Value Examples
This method will update current upper/lower width for all peaks
1 2 3 4 | addFixedWidth(object, lowerWidth, upperWidth)
## S4 method for signature 'PeakList,numeric,numeric'
addFixedWidth(object, lowerWidth, upperWidth)
|
object |
PeakList object |
lowerWidth |
numeric |
upperWidth |
numeric |
object PeakList with updated/new peak widths
1 2 3 4 5 6 7 8 | library(tofsimsData)
data(tofsimsData)
testSpectra<-reduceSpectrumResolution(object = testSpectra, everyN = 4, mode = 'keep')
testSpectra<-smootherSpline(testSpectra, stepsize = 10, spar = 0.3)
testSpectra<-smootherGolay(testSpectra, p = 3, n = 5)
testSpectra<-peakPick(testSpectra, span = 100)
testSpectra<-addFixedWidth(testSpectra, 0.2, 0.2)
plot(testSpectra, , mzRange=c(38.5,40.5), type = 'l')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.