enzyme: Get and set enzyme in msgfPar objects

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

Description

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

Usage

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

See Also

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

Examples

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

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