matches {MSGFplus}R Documentation

Get and set the number of matches in msgfPar objects

Description

These functions allow you to retrieve and set the number of matches per spectrum returned by MS-GF+

Usage

matches(object)

matches(object) <- value

## S4 method for signature 'msgfPar'
matches(object)

## S4 replacement method for signature 'msgfPar,numeric'
matches(object) <- value

## S4 replacement method for signature 'msgfPar,msgfParMatches'
matches(object) <- value

Arguments

object

An msgfPar object

value

Either an integer or an msgfParMatches object

Value

In case of the getter an integer

Methods (by class)

See Also

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

Examples

parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
matches(parameters) <- 5
matches(parameters)

[Package MSGFplus version 1.18.0 Index]