All functions |
|
---|---|
Checks the value's class type, which should match at least of the types given in any_expected_class_types. |
|
CV_ |
|
For a given filename (e.g. "test.mzML"), check the suffix and translate it to an PSI-MS CV term, e.g. 'MS:1000584' |
|
Allow conversion of plain named lists of R objects (from jSON) to mzQC objects |
|
Allow conversion of a plain R object (obtained from jSON) to an mzQC object |
|
Fetch and parse the 'psi-ms.obo' and some metadata from the usual sources to use as ontology. |
|
Returns an |
|
Returns the CV singleton. See |
|
Fills a MzQCcvParameter object with id(accession) and name. The value (if any) needs to be set afterwards. |
|
Returns an MzQCcontrolledVocabulary for the currently used CV (see |
|
Get the latest PSI-MS CV release URL |
|
Obtains the 'data-version' from a local (i.e. non-url) PSI-MS-CV |
|
Fills a MzQCqualityMetric object with id(accession) and name. The value (if any) and unit (if any) need to be set afterwards. |
|
Get a syntax validator for mzQC |
|
Checks if filepath ends in suffix (ignoring lower/upper case differences). If suffix does not start with a '.' it is prepended automatically. |
|
Tell if a string is undefined (NA or NULL); If yes, and its required by the mzQC standard, we can raise an error. |
|
Checks validity (= completeness) of mzQC objects - or lists (JSON arrays) thereof |
|
Convert a local filename, e.g. "./myData/test.mzML" to a proper URI (e.g. "file:///user/bielow/myData/test.mzML") |
|
Details of the software used to create the QC metrics |
|
Base class of runQuality/setQuality |
|
A controlled vocabulary document, usually pointing to an .obo file |
|
A controlled vocabulary parameter, as detailed in the OBO file |
|
An mzQC-formatted date+time in ISO8601 format, as required by the mzQC spec doc. |
|
An inputfile within metadata for a run/setQuality |
|
The metadata for a run/setQuality |
|
Root element of an mzQC document |
|
The central class to store QC information |
|
A runQuality object. Use to report metrics for individual runs which are independent of other runs. |
|
A setQuality object. Use it for metrics which are specific to sets, i.e. only for values which only make sense in the set context and cannot be stored as runQuality (see mzQC spec doc). |
|
Converts a NULL to NA_character_; or returns the argument unchanged otherwise |
|
Converts a NULL to NA; or returns the argument unchanged otherwise |
|
Get the information of each CV term from an obo file. |
|
Read a JSON file in mzQC format into an MzQCmzQC root object |
|
Removes the last suffix (including the last dot) from a filename. If no dot exists, the full string is returned. |
|
Remove a file, if it exists (useful for temporary files which may or may not have been created) |
|
From an ID, e.g. "MS:1003162" (for PTX-QC), and some additional information, create an 'analysisSoftware' node for mzQC |
|
Create an 'MzQCqualityMetric' object from two inputs |
|
Syntactically validates an mzQC document which is present as a file. |
|
Syntactically validates an mzQC document which is already in memory as mzQC root object, as obtained by, e.g. readMZQC(). |
|
Syntactically validates an mzQC document which is already in memory as JSON string. e.g. the string "{ mzQC : {}}" |
|
Writes a full mzQC object to disk. |