Learn R Programming

tofsims (version 1.0.2)

getTOFs: generic method to calculate and get TOFs

Description

generic method to calculate and get TOFs

method getTOFs

Usage

getTOFs(object)

## S3 method for class 'MassSpectra': getTOFs(object)

Arguments

object
object of class MassSpectra

Value

  • vector with ToFs

    vector numeric with TOF values

Examples

Run this code
library(tofsimsData)
data(tofsimsData)
timeOfFlight <- getTOFs(testSpectra)
head(timeOfFlight)

Run the code above in your browser using DataLab