instrument: 'instrument', slot of 'MassSpectra' class objects

Description Usage Arguments Value See Also Examples

Description

instrument, slot of MassSpectra class objects

Usage

1
2
3
4
5
6
7
8
9
instrument(object, ...)

instrument(object) <- value

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

## S4 replacement method for signature '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

1
2
3
4
5
6
7
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

tofsims documentation built on Nov. 8, 2020, 5:10 p.m.