getTOFs {tofsims} | R Documentation |
generic method to calculate and get TOFs
method getTOFs
getTOFs(object) ## S4 method for signature 'MassSpectra' getTOFs(object)
object |
object of class MassSpectra |
vector with ToFs
vector numeric with TOF values
library(tofsimsData) data(tofsimsData) timeOfFlight <- getTOFs(testSpectra) head(timeOfFlight)