mods: Get and set the modifications in msgfPar objects

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

Description

These functions allow you to retrieve and set the specific modifications allowed on peptides during MS-GF+ search, as well as the number allowed on each peptide

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
mods(object)

mods(object) <- value

nMod(object)

nMod(object) <- value

## S4 method for signature 'msgfPar'
mods(object)

## S4 replacement method for signature 'msgfPar,msgfParModificationList'
mods(object) <- value

## S4 method for signature 'msgfPar'
nMod(object)

## S4 replacement method for signature 'msgfPar,numeric'
nMod(object) <- value

Arguments

object

An msgfPar object

value

An msgfParModificationList object or in the case of nMod an integer

Value

For the getter an msgfParModificationList object or an integer (in the case of nMod)

Methods (by class)

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
nMod(parameters) <- 2
mods(parameters)[[1]] <- msgfParModification(
                                                      name='Carbamidomethyl',
                                                      composition='C2H3N1O1',
                                                      residues='C',
                                                      type='fix',
                                                      position='any'
                                                     )
mods(parameters)

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