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

matches

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)

  • msgfPar: Get the number of matches reported per spectrum

  • object = msgfPar,value = numeric: Set the number of matches reported per spectrum using an integer

  • object = msgfPar,value = msgfParMatches: Set the number of matches reported per spectrum using an msgfParMatches object

See Also

Examples

parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
matches(parameters) <- 5
matches(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.