matches: Get and set the number of matches in msgfPar objects

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

Description

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

Usage

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

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

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