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)

Arguments

mzqc_root

An mzQC root object

verbose

Show extra information if validation fails

Value

TRUE/FALSE if validation was successful/failed

Details

The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.