lengthRange {MSGFplus} | R Documentation |
These functions allow you to retrieve and set the residue length allowed for the peptides search for in MS-GF+
lengthRange(object) lengthRange(object) <- value ## S4 method for signature 'msgfPar' lengthRange(object) ## S4 replacement method for signature 'msgfPar,numeric' lengthRange(object) <- value ## S4 replacement method for signature 'msgfPar,msgfParLengthRange' lengthRange(object) <- value
object |
An msgfPar object |
value |
Either an integer vector or an msgfParLengthRange object |
In case of the getter an integer vector of length 2 giving the lower and upper bounds of the length range
msgfPar
: Get the lower and upper bounds of peptide lengths
object = msgfPar,value = numeric
: Set the lower and upper bounds of peptide lengths
using an integer vector
object = msgfPar,value = msgfParLengthRange
: Set the lower and upper bounds of peptide lengths
using an msgfParLengthRange
Other msgfPar-getter_setter: chargeRange
,
db
, enzyme
,
fragmentation
, instrument
,
isotopeError
, matches
,
mods
, ntt
,
protocol
, tda
,
tolerance
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta')) lengthRange(parameters) <- c(6, 40) lengthRange(parameters)