
Validate an mzTab-M file using the official jmztabm-validator
Source:R/validator.R
mzTabMValidator.RdmzTabMValidator() validates the mzTab-M file using the
jmztabm-validator,
which is a Java-based tool that checks the compliance of mzTab-M files with
the mzTab-M 2.1 specification. The function captures the output of the
validator and parses it to determine if the validation was successful, and
to extract any validation messages (errors, warnings, info). If the
validation fails due to errors the function stops and generates an error.
Usage
mzTabMValidator(mztab_file = character())Value
A list with the validation results, including whether the
validation finished successfully, the total number of messages, the
number of errors and warnings, and a data frame with the details of each
validation message. If the validation fails it return a error.
See also
mzTabMValidator_download to determine the path of the cached jmztabm-validator binary.