Imports quantitative results from an
mzTab-M file (e.g. produced by
Lipid Data Analyzer, MS-DIAL or MZmine) into an MRMhubExperiment. Each
Small Molecule Feature (SMF) becomes an mrmhub feature and each assay an
analysis; the per-assay abundances are imported as feature_intensity.
Arguments
- data
An
MRMhubExperimentobject (e.g. fromMRMhubExperiment()).- path
Path to a
.mzTabfile, or a directory of them.- import_metadata
If
TRUE(default), derive analysis/feature metadata (incl.batch_id, formula, neutral mass) from the imported data viaimport_metadata_from_data().- silent
Suppress messages.
Details
mzTab-M is a quantification report, so an import is necessarily partial:
the single reported abundance per feature is mapped to feature_intensity,
and feature identities (name, formula, neutral mass, m/z, retention time)
are taken from the SMF/SML sections where available. Internal-standard
relationships, QC-type assignments and calibration metadata are not
part of mzTab-M and must be supplied afterwards with add_metadata().
study_variable group membership is imported best-effort as batch_id
(mzTab-M has no analytical-batch concept).
Examples
if (FALSE) { # \dontrun{
mexp <- MRMhubExperiment()
mexp <- import_data_mztab(mexp, "LDA_export.mzTab")
} # }