Description Usage Arguments Value Examples
Generic method recalibrate
method recalibrate
1 2 3 4 | recalibrate(object)
## S4 method for signature 'MassSpectra'
recalibrate(object)
|
object |
object of class MassSpctra |
object of class MassSpectra, recalibrated using the data from slots calibPoints
object of class MassSpectra, recalibrated mass values
1 2 3 4 5 6 7 8 9 | library(tofsimsData)
data(tofsimsData)
testSpectra <- calibPointNew(testSpectra, mz = 15, value = 15.01551)
testSpectra <- calibPointNew(testSpectra, mz = 181, value = 181.0228)
calibPoints(testSpectra)
par(mfcol=c(1,2))
plot(testSpectra,mzRange=c(38.5,40.5),type='l')
testSpectra <- recalibrate(testSpectra)
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.