msgfParModificationList-class: A class handling a list of modifications

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

Description

This class defines a set of modifications and a maximum number of modifications allowed per peptide.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## S4 method for signature 'msgfParModificationList'
show(object)

## S4 method for signature 'msgfParModificationList'
length(x)

## S4 method for signature 'msgfParModificationList'
getMSGFpar(object)

## S4 method for signature 'msgfParModificationList,numeric,missing'
x[[i, j, ...]]

## S4 replacement method for signature 
## 'msgfParModificationList,numeric,missing,msgfParModification'
x[[i,
  j, ...]] <- value

msgfParModificationList(nMod, modifications = list())

Arguments

object

An msgfParModificationList object

x

An msgfParModificationList object

i

The index of the modification

j

Ignored

...

Ignored

value

An msgfParModification object

nMod

The maximum allowed number of modifications to expect on any peptide

modifications

A list of msgfParModification objects

Value

For length() An integer.

For getMSGFpar() A string.

For '[[' A msgfParModification object

For msgfParModificationList() An msgfParModificationList object.

Methods (by generic)

Slots

nMod

The maximum allowed number of modifications to expect on any peptide

modifications

A list of msgfParModification objects

See Also

Other msgfParClasses: msgfPar-class, msgfParChargeRange-class, msgfParEnzyme-class, msgfParFragmentation-class, msgfParInstrument-class, msgfParIsotopeError-class, msgfParLengthRange-class, msgfParMatches-class, msgfParModification-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
17
18
19
20
21
22
23
24
25
26
27
28
modification1 <- msgfParModification(
                                     name='Carbamidomethyl',
                                     composition='C2H3N1O1',
                                     residues='C',
                                     type='fix',
                                     position='any'
                                    )
modification2 <- msgfParModification(
                                     name='Oxidation',
                                     mass=15.994915,
                                     residues='M',
                                     type='opt',
                                     position='any'
                                    )
modificationlist <- msgfParModificationList(
                                            nMod=2,
                                            modifications=list(
                                                modification1,
                                                modification2
                                            )
                                           )
modificationlist[[3]] <- msgfParModification(
                                             name='Gln->pyro-Glu',
                                             composition='H-3N-1',
                                             residues='Q',
                                             type='opt',
                                             position='N-term'
                                            )

MSGFplus documentation built on Nov. 1, 2018, 3:39 a.m.