| enzyme | R Documentation |
These functions allow you to retrieve and set the enzyme used for digestion during sample treatment.
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
object |
An msgfPar object |
value |
Either an integer, string or msgfParEnzyme object |
In case of the getter a named integer
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
Other msgfPar-getter_setter: chargeRange,
db, fragmentation,
instrument, isotopeError,
lengthRange, matches,
mods, ntt,
protocol, tda,
tolerance
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
enzyme(parameters) <- 'Trypsin'
enzyme(parameters) <- 3
enzyme(parameters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.