increment
(Package: mzID) :
Tools to handle generation of lookup names for the dictionary
increment looks for a counter in the data environment of mzIDCollection objects and increments it by one if it exists. Otherwise it initialises the counter to 1. It returns the value of the counter.
mzID-package
(Package: mzID) :
A parser for the mzIdentML file format
Using the mzID function this package is able to parse mzIdentML files into an mzID class instance. Multiple files can be parsed in parallel into an mzIDCollection which is a list-like class that handles multiple mzID objects.
This class is a container for multiple mzID objects. It is constructed such that the bulk data are not copied when passed around. It is the aim that this class have parity with the mzID class in the methods it exposes to the user, such that mzIDCollections can be thought of as vectors in the traditional R sense. Furthermore it accepts standard indexing and concatenation.
This function creates a new mzIDCollection object containing the supplied mzID object. As such the result is equivalent to passing a number of mzID objects to c(), except that an empty mzIDCollection object is returned if no mzID objects are supplied.