rmzTabM.Validate
An R6Class generator object
apiClientHandles the client-server communication.
new()Create a new ValidateApi object.
ValidateApi$new(apiClient)apiClientAn initialized ApiClient.
ValidateMzTabFile()Validate an MzTab object.
ValidateApi$ValidateMzTabFile(
mztabfile,
level = "info",
max.errors = 100,
semantic.validation = FALSE,
...
)mztabfileThe MzTab object to validate.
levelThe validation level.
max.errorsThe maximum number of errors.
semantic.validationWhether semantic validation should also be performed.
...local optional variable arguments
ValidateMzTabFileWithHttpInfo()Validate an MzTab file but include HTTP response info.
ValidateApi$ValidateMzTabFileWithHttpInfo(
mztabfile,
level = "info",
max.errors = 100,
semantic.validation = FALSE,
...
)mztabfileThe MzTab object to validate.
levelThe validation level.
max.errorsThe maximum number of errors.
semantic.validationWhether semantic validation should also be performed.
...local optional variable arguments
if (FALSE) { # \dontrun{
#################### ValidateMzTabFile ####################
library(rmzTabM)
# MzTab | mzTab file that should be validated.
var.mztabfile <- MzTab$new()
# character | The level of errors that should be reported, one of ERROR, WARN, INFO.
var.level <- 'info'
# integer | The maximum number of errors to return.
var.max.errors <- 100
# character | Whether a semantic validation against the default rule set should be performed.
var.semantic.validation <- FALSE
api.instance <- ValidateApi$new()
result <- api.instance$ValidateMzTabFile(var.mztabfile,
level=var.level, max.errors=var.max.errors,
semantic.validation=var.semantic.validation
)
} # }