mzID (version 1.10.2)

mzIDdatabase: A constructor for the mzIDdatabase class

Description

This function handles parsing of data and construction of an mzIDdatabase object. This function is not intended to be called explicitly but as part of an mzID construction. Thus, the function is not exported.

Usage

mzIDdatabase(doc, ns, addFinalizer = FALSE, path)

Arguments

doc
an XMLInternalDocument created using xmlInternalTreeParse
ns
The appropriate namespace for the doc, as a named character vector with the namespace named x
addFinalizer
Logical Sets whether reference counting should be turned on
path
If doc is missing the file specified here will be parsed

Value

  • An mzIDdatabase object

See Also

mzIDdatabase-class