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

enzyme

Get and set enzyme in msgfPar objects


Description

These functions allow you to retrieve and set the enzyme used for digestion during sample treatment.

Usage

enzyme(object)

enzyme(object) <- value

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

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

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

## S4 replacement method for signature 'msgfPar,msgfParEnzyme'
enzyme(object) <- value

Arguments

object

An msgfPar object

value

Either an integer, string or msgfParEnzyme object

Value

In case of the getter a named integer

Methods (by class)

  • msgfPar: Get the enzyme currently used

  • object = msgfPar,value = numeric: Set the enzyme to use using the key for the enzyme

  • object = msgfPar,value = character: Set the enzyme to use using the name of the enzyme

  • object = msgfPar,value = msgfParEnzyme: Set the enzyme to use using an msgfParEnzyme object

See Also

Examples

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