lengthRange {MSGFplus}R Documentation

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

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)

See Also

Other msgfPar-getter_setter: chargeRange, db, enzyme, fragmentation, instrument, isotopeError, matches, mods, ntt, protocol, tda, tolerance

Examples

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


[Package MSGFplus version 1.20.0 Index]