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

fragmentation

Get and set fragmentation in msgfPar objects


Description

These functions allow you to retrieve and set the fragmentation method used during acquisition

Usage

fragmentation(object)

fragmentation(object) <- value

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

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

## S4 replacement method for signature 'msgfPar,character'
fragmentation(object) <- value

## S4 replacement method for signature 'msgfPar,msgfParFragmentation'
fragmentation(object) <- value

Arguments

object

An msgfPar object

value

Either an integer, string or msgfParFragmentation object

Value

In case of the getter a named integer

Methods (by class)

  • msgfPar: Get the fragmentation method currently used

  • object = msgfPar,value = numeric: Set the fragmentation method using the key for the method

  • object = msgfPar,value = character: Set the fragmentation method using the name of the method

  • object = msgfPar,value = msgfParFragmentation: Set the fragmentation method using an msgfParFragmentation object

See Also

Examples

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