msgfParModification-class: A class handling modification characteristics

Description Usage Arguments Value Methods (by generic) Slots See Also Examples

Description

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.

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'msgfParModification'
getMSGFpar(object)

## S4 method for signature 'msgfParModification'
show(object)

msgfParModification(name, composition = "", mass = as.numeric(NA), residues,
  type, position)

Arguments

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.

Value

For getMSGFpar() A string.

For msgfParModification() An msgfParModification object.

Methods (by generic)

Slots

composition

The molecular formula for the modification.

mass

The monoisotopic mass of the modification

residues

The amino acids the modification applies to

type

Whether the modification is optional or always present

position

The possibel position of the modification

name

The name of the modification

See Also

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

Examples

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

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