Get and set peptide length range in msgfPar objects

Description

These functions allow you to retrieve and set the residue length allowed for the peptides search for in MS-GF+

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

Arguments

object

An msgfPar object

value

Either an integer vector or an msgfParLengthRange object

Value

In case of the getter an integer vector of length 2 giving the lower and upper bounds of the length range

Methods (by class)

  • 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

See Also

Other msgfPar-getter_setter: chargeRange, chargeRange,msgfPar-method, chargeRange<-, chargeRange<-,msgfPar,msgfParChargeRange-method, chargeRange<-,msgfPar,numeric-method; db, db,msgfPar-method, db<-, db<-,msgfPar,character-method; enzyme, enzyme,msgfPar-method, enzyme<-, enzyme<-,msgfPar,character-method, enzyme<-,msgfPar,msgfParEnzyme-method, enzyme<-,msgfPar,numeric-method; fragmentation, fragmentation,msgfPar-method, fragmentation<-, fragmentation<-,msgfPar,character-method, fragmentation<-,msgfPar,msgfParFragmentation-method, fragmentation<-,msgfPar,numeric-method; instrument, instrument,msgfPar-method, instrument<-, instrument<-,msgfPar,character-method, instrument<-,msgfPar,msgfParInstrument-method, instrument<-,msgfPar,numeric-method; isotopeError, isotopeError,msgfPar-method, isotopeError<-, isotopeError<-,msgfPar,msgfParIsotopeError-method, isotopeError<-,msgfPar,numeric-method; matches, matches,msgfPar-method, matches<-, matches<-,msgfPar,msgfParMatches-method, matches<-,msgfPar,numeric-method; mods, mods,msgfPar-method, mods<-, mods<-,msgfPar,msgfParModificationList-method, nMod, nMod,msgfPar-method, nMod<-, nMod<-,msgfPar,numeric-method; ntt, ntt,msgfPar-method, ntt<-, ntt<-,msgfPar,msgfParNtt-method, ntt<-,msgfPar,numeric-method; protocol, protocol,msgfPar-method, protocol<-, protocol<-,msgfPar,character-method, protocol<-,msgfPar,msgfParProtocol-method, protocol<-,msgfPar,numeric-method; tda, tda,msgfPar-method, tda<-, tda<-,msgfPar,logical-method, tda<-,msgfPar,msgfParTda-method; tolerance, tolerance,msgfPar-method, tolerance<-, tolerance<-,msgfPar,character-method, tolerance<-,msgfPar,msgfParTolerance-method, toleranceRange, toleranceRange,msgfPar-method, toleranceRange<-, toleranceRange<-,msgfPar,numeric-method, toleranceUnit, toleranceUnit,msgfPar-method, toleranceUnit<-, toleranceUnit<-,msgfPar,character-method

Examples

1
2
3
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
lengthRange(parameters) <- c(6, 40)
lengthRange(parameters)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.