| chargeRange {MSGFplus} | R Documentation |
These functions allow you to retrieve and set the charge range in the msgfPar object of interest
chargeRange(object) chargeRange(object) <- value ## S4 method for signature 'msgfPar' chargeRange(object) ## S4 replacement method for signature 'msgfPar,numeric' chargeRange(object) <- value ## S4 replacement method for signature 'msgfPar,msgfParChargeRange' chargeRange(object) <- value
object |
An msgfPar object |
value |
Either a numeric vector of length 2 or an msgfParChargeRange object |
In case of the getter a numeric vector with the named elements 'min' and 'max'
msgfPar: Get the charge range
object = msgfPar,value = numeric: Set the charge range using lower and upper bounds
object = msgfPar,value = msgfParChargeRange: Set the charge range using a dedicated
msgfParChargeRange object
Other msgfPar-getter_setter: db,
enzyme, fragmentation,
instrument, isotopeError,
lengthRange, matches,
mods, ntt,
protocol, tda,
tolerance
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta')) chargeRange(parameters) <- c(2, 4) chargeRange(parameters)