getTOFs {tofsims} | R Documentation

## generic method to calculate and get TOFs

### Description

generic method to calculate and get TOFs

method getTOFs

### Usage

    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

    library(tofsimsData)
    data(tofsimsData)
    timeOfFlight <- getTOFs(testSpectra)
    head(timeOfFlight)

[Package tofsims version 1.18.0 Index]