matches {MSGFplus} | R Documentation |
These functions allow you to retrieve and set the number of matches per spectrum returned by MS-GF+
matches(object) matches(object) <- value ## S4 method for signature 'msgfPar' matches(object) ## S4 replacement method for signature 'msgfPar,numeric' matches(object) <- value ## S4 replacement method for signature 'msgfPar,msgfParMatches' matches(object) <- value
object |
An msgfPar object |
value |
Either an integer or an msgfParMatches object |
In case of the getter an integer
msgfPar
: Get the number of matches reported per spectrum
object = msgfPar,value = numeric
: Set the number of matches reported per spectrum using an
integer
object = msgfPar,value = msgfParMatches
: Set the number of matches reported per spectrum using an
msgfParMatches object
Other msgfPar-getter_setter: chargeRange
,
db
, enzyme
,
fragmentation
, instrument
,
isotopeError
, lengthRange
,
mods
, ntt
,
protocol
, tda
,
tolerance
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta')) matches(parameters) <- 5 matches(parameters)