Learn R Programming

tofsims (version 1.0.2)

instrument: instrument, slot of MassSpectra class objects

Description

instrument, slot of MassSpectra class objects

Usage

instrument(object, ...)

instrument(object) <- value

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

## S3 method for class 'MassSpectra': instrument(object) <- value

Arguments

object
object of class MassSpectra
...
additional args
value
character name of instrument used in the experiment

Value

  • content of instrument slot

See Also

object MassSpectra other slots mz analysis analysisName nz calibPoints calibration

Examples

Run this code
library(tofsimsData) 
data(tofsimsData)
## access instrument slot in MassSpectra objects
instrument(testSpectra)
## values for the 'instrument' slot can currently be
## 'iontof' or 'ulvacphi'. It is not advisable to 
## change those values manually

Run the code above in your browser using DataLab