| instrument {MSGFplus} | R Documentation |
These functions allow you to retrieve and set the instrument type used for acquisition
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
object |
An msgfPar object |
value |
Either an integer, string or msgfParInstrument object |
In case of the getter a named integer
msgfPar: Get the instrument currently used
object = msgfPar,value = numeric: Set the instrument using the key for the instrument
object = msgfPar,value = character: Set the instrument using the name of the instrument
object = msgfPar,value = msgfParInstrument: Set the instrument using an msgfParInstrument object
Other msgfPar-getter_setter: chargeRange,
db, enzyme,
fragmentation, isotopeError,
lengthRange, matches,
mods, ntt,
protocol, tda,
tolerance
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta')) instrument(parameters) <- 'TOF' instrument(parameters) <- 3 instrument(parameters)