validateFromObj: Syntactically validates an mzQC document which is already in...

View source: R/validator.R

validateFromObjR 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


rmzqc documentation built on May 29, 2024, 12:06 p.m.