# Example of specifying all parameters - usually not necessary
parameters <- msgfPar(
database=system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'),
tolerance='20 ppm',
isotopeError=c(0, 2),
tda=TRUE,
fragmentation='CID',
instrument='TOF',
enzyme='Lys-C',
protocol='No protocol',
ntt=2,
modification=list(
nMod=2,
modifications=list(
list(name='Carbamidomethyl',
composition='C2H3N1O1',
residues='C',
type='fix',
position='any'
),
list(name='Oxidation',
mass=15.994915,
residues='M',
type='opt',
position='any'
)
)
),
lengthRange=c(6,40),
chargeRange=c(2,7),
matches=1
)
parameters
Run the code above in your browser using DataLab