getTOFs: generic method to calculate and get TOFs

Description Usage Arguments Value Examples

Description

generic method to calculate and get TOFs

method getTOFs

Usage

1
2
3
4
getTOFs(object)

## S4 method for signature 'MassSpectra'
getTOFs(object)

Arguments

object

object of class MassSpectra

Value

vector with ToFs

vector numeric with TOF values

Examples

1
2
3
4
library(tofsimsData)
data(tofsimsData)
timeOfFlight <- getTOFs(testSpectra)
head(timeOfFlight)

tofsims documentation built on April 29, 2020, 5:20 a.m.