This function reads an mzTab data file and returns a list containing various tables such as Metadata (MTD), Small Molecule (SML), Small Molecule Feature (SMF), and Small Molecule Evidence (SME).
read_mztab(file, path = ".")
The name of the mzTab file to be read.
The directory where the mzTab file is located. Default is the current directory.
A list containing the following elements:
mtd_table
: Metadata table
sml_table
: Small Molecule table
smf_table
: Small Molecule Feature table
sme_table
: Small Molecule Evidence table
The function reads an mzTab file and extracts various tables such as MTD, SML, SMF, and SME. It performs necessary data transformations and type conversions.
if (FALSE) {
# Assuming 'mztab_file' is the name of the mzTab file
mztab_data <- read_mztab(file = mztab_file)
}