Syntactically validates an mzQC document which is already in memory as mzQC root object, as obtained by, e.g. readMZQC().
This method is less performant than validateFromString, because it needs to convert the R object to a JSON string first.
validateFromObj(mzqc_root, verbose = TRUE)
mzqc_root
: An mzQC root objectverbose
: Show extra information if validation failsTRUE/FALSE if validation was successful/failed
The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.