View source: R/convert_mztab2mass_dataset.R
read_mztab | R Documentation |
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 = ".")
file |
The name of the mzTab file to be read. |
path |
The directory where the mzTab file is located. Default is the current directory. |
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.
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
Xiaotao Shen shenxt1990@outlook.com
## Not run:
# Assuming 'mztab_file' is the name of the mzTab file
mztab_data <- read_mztab(file = mztab_file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.