This function converts mzTab data into a mass_dataset object. It processes the mzTab data to create a mass_dataset object containing expression data, sample information, and variable information.

convert_mztab2mass_dataset(file, path = ".")

Arguments

file

The name of the mzTab file to be read.

path

The directory where the mzTab file is located. Default is the current directory.

Value

A mass_dataset object containing the processed mzTab data.

Details

The function reads mzTab data and processes it to create a mass_dataset object. It extracts sample information, variable information, and expression data. It also performs checks to ensure the data is correctly formatted.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

if (FALSE) {
# Assuming 'mztab_file' is the name of the mzTab file
mass_dataset <- convert_mztab2mass_dataset(file = mztab_file)
}