R/convert_mass_dataset2mztab.R
convert_mass_dataset2mztab.Rd
This function converts a mass_dataset
object to mzTab format. The function creates
mzTab-compatible tables including metadata (MTD), small molecule (SML), small molecule feature (SMF),
and small molecule evidence (SME) tables.
convert_mass_dataset2mztab(object, path = ".")
Writes an mzTab file to the specified directory.
The function first checks if the mass_dataset
object contains the necessary mzTab tables (MTD, SML, SMF, SME).
If not, it generates these tables based on the expression_data
and sample_info
in the mass_dataset
object.
The function then writes these tables to an mzTab file in the specified directory.
if (FALSE) { # \dontrun{
# Assuming 'dataset' is a mass_dataset object
convert_mass_dataset2mztab(dataset, path = "./mzTabFiles/")
} # }