msgfParFromID: Extract parameters from mzIdentML result file

View source: R/msgfPar.R

msgfParFromIDR Documentation

Extract parameters from mzIdentML result file

Description

This function analyses an mzIdentML file generated using MS-GF+ and returns an msgfPar object with parameters matching the ones used to generate the mzIdentML file. If the mzIdentML file does not origin from an MS-GF+ analysis it throws an error.

Usage

msgfParFromID(file)

Arguments

file

The mzIdentML file to extract the parameters from

Details

NOTE: At the moment the number of allowed modifications per peptide is not written to the result file and can thus not be extracted. It defaults to 2

Value

An msgfPar object with parameters matching the input file

See Also

msgfPar-class msgfPar

Examples

## Not run: 
parameters <- msgfParFromID('result1.mzid')

## End(Not run)


thomasp85/MSGFplus documentation built on Oct. 2, 2024, 9:26 a.m.