instrument {tofsims} | R Documentation

## `instrument`, slot of `MassSpectra` class objects

### Description

`instrument`, slot of `MassSpectra` class objects

### Usage

    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

    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

[Package tofsims version 1.18.0 Index]