instrument {MSGFplus}R Documentation

Get and set instrument in msgfPar objects

Description

These functions allow you to retrieve and set the instrument type used for acquisition

Usage

instrument(object)

instrument(object) <- value

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

## S4 replacement method for signature 'msgfPar,numeric'
instrument(object) <- value

## S4 replacement method for signature 'msgfPar,character'
instrument(object) <- value

## S4 replacement method for signature 'msgfPar,msgfParInstrument'
instrument(object) <- value

Arguments

object

An msgfPar object

value

Either an integer, string or msgfParInstrument object

Value

In case of the getter a named integer

Methods (by class)

See Also

Other msgfPar-getter_setter: chargeRange, db, enzyme, fragmentation, isotopeError, lengthRange, matches, mods, ntt, protocol, tda, tolerance

Examples

parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
instrument(parameters) <- 'TOF'
instrument(parameters) <- 3
instrument(parameters)


[Package MSGFplus version 1.18.0 Index]