rmzTabM.ValidatePlain

Format

An R6Class generator object

Methods

ValidatePlainMzTabFile Validates an mzTab file in plain text representation / tab-separated format and reports syntactic, structural, and semantic errors. @param mztabfile character @param level Enum < [info, warn, error] > @param max.errors integer @param semantic.validation character @returnType list( ValidationMessage )
status code : 200 | Validation Okay return type : array[ValidationMessage] response headers :
status code : 415 | Unsupported content type response headers :
status code : 422 | Invalid input return type : array[ValidationMessage] response headers :
status code : 0 | Unexpected error return type : Error response headers :

Public fields

apiClient

Handles the client-server communication.

Methods


Method new()

Create a new ValidatePlainApi object.

Usage

ValidatePlainApi$new(apiClient)

Arguments

apiClient

An initialized ApiClient.


Method ValidatePlainMzTabFile()

Validate a plaintext MzTab file.

Usage

ValidatePlainApi$ValidatePlainMzTabFile(
  mztabfile,
  level = "info",
  max.errors = 100,
  semantic.validation = FALSE,
  ...
)

Arguments

mztabfile

The mzTab file string to validate.

level

The validation level.

max.errors

The maximum number of errors.

semantic.validation

Whether semantic validation should also be performed.

...

local optional variable arguments


Method ValidatePlainMzTabFileWithHttpInfo()

Validate an plaintext MzTab file but include HTTP response info.

Usage

ValidatePlainApi$ValidatePlainMzTabFileWithHttpInfo(
  mztabfile,
  level = "info",
  max.errors = 100,
  semantic.validation = FALSE,
  ...
)

Arguments

mztabfile

The mzTab file string to validate.

level

The validation level.

max.errors

The maximum number of errors.

semantic.validation

Whether semantic validation should also be performed.

...

local optional variable arguments


Method clone()

The objects of this class are cloneable with this method.

Usage

ValidatePlainApi$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) {
####################  ValidatePlainMzTabFile  ####################

library(rmzTabM)
# character | mzTab string content that should be validated.
var.mztabfile <- 'mztabfile_example' 
# 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 <- ValidatePlainApi$new()

result <- api.instance$ValidatePlainMzTabFile(var.mztabfile, level=var.level,
 max.errors=var.max.errors, semantic.validation=var.semantic.validation)


}