lengthRange: Get and set peptide length range in msgfPar objects

Description Usage Arguments Value Methods (by class) See Also Examples

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)

See Also

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

Examples

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

MSGFplus documentation built on Nov. 8, 2020, 6:48 p.m.