powered by
mz setter method
## S3 method for class 'MassSpectra': mz(object)## S3 method for class 'MassSpectra': mz(object) <- value
## S3 method for class 'MassSpectra': mz(object) <- value
library(tofsimsData) data(tofsimsData) ## access the mz values fo each spectra point mz(testSpectra)[1:100] ## replace a mz value mz(testSpectra)[1] <- 0.000025 mz(testSpectra)[1:100]
Run the code above in your browser using DataLab