validateFromObj {rmzqc} | R Documentation |
Syntactically validates an mzQC document which is already in memory as mzQC root object, as obtained by, e.g. readMZQC().
Description
This method is less performant than validateFromString, because it needs to convert the R object to a JSON string first.
Usage
validateFromObj(mzqc_root, verbose = TRUE)
Arguments
mzqc_root |
An mzQC root object |
verbose |
Show extra information if validation fails |
Details
The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.
Value
TRUE/FALSE if validation was successful/failed
[Package rmzqc version 0.5.4 Index]