Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lengthRange

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)

  • 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

Examples

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

MSGFplus

An interface between R and MS-GF+

v1.24.0
GPL (>= 2)
Authors
Thomas Lin Pedersen
Initial release
2020-09-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.