| msgfParModification-class | R Documentation |
This class defines a single modification type that can be searched for by
MS-GF+. Modifications are collected in a
msgfParModificationList before adding them to
msgfPar objects.
## S4 method for signature 'msgfParModification'
getMSGFpar(object)
## S4 method for signature 'msgfParModification'
show(object)
msgfParModification(name, composition = "", mass = as.numeric(NA), residues,
type, position)
object |
An msgfParModification object |
name |
The name of the modification |
composition |
The molecular formular as a string for the modification. Loss of atoms are denoted with negative integers (e.g. O-1 for loss of oxygen) |
mass |
The monoisotopic mass change between a peptide without and with the given modification. Either composition or mass must be defined. |
residues |
The amino acids that the modification applies to. Given as their one-letter code in upper-case without any separation. Use '*' for all residues |
type |
Either 'fix' or 'opt' for fixed or optional |
position |
Where the modification can be. Either 'any', 'c-term', 'n-term', 'prot-c-term' or 'prot-n-term. |
For getMSGFpar() A string.
For msgfParModification() An msgfParModification object.
getMSGFpar: Get system compliant
function call
show: Short summary of msgfParModification object
compositionThe molecular formula for the modification.
massThe monoisotopic mass of the modification
residuesThe amino acids the modification applies to
typeWhether the modification is optional or always present
positionThe possibel position of the modification
nameThe name of the modification
Other msgfParClasses: msgfPar-class,
msgfParChargeRange-class,
msgfParEnzyme-class,
msgfParFragmentation-class,
msgfParInstrument-class,
msgfParIsotopeError-class,
msgfParLengthRange-class,
msgfParMatches-class,
msgfParModificationList-class,
msgfParNtt-class,
msgfParProtocol-class,
msgfParTda-class,
msgfParTolerance-class,
msgfPar
# Using composition
modification1 <- msgfParModification(
name='Carbamidomethyl',
composition='C2H3N1O1',
residues='C',
type='fix',
position='any'
)
# Using exact mass
modification2 <- msgfParModification(
name='Oxidation',
mass=15.994915,
residues='M',
type='opt',
position='any'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.