Read.mzTab: Read an mzTab tab separated file from the passed in file....

View source: R/general_data_utils.R

Read.mzTabR Documentation

Read an mzTab tab separated file from the passed in file. Adapted from: https://github.com/lifs-tools/rmzTab-m/blob/master/R/MzTabReader.r

Description

Read an mzTab tab separated file from the passed in file. Adapted from: https://github.com/lifs-tools/rmzTab-m/blob/master/R/MzTabReader.r

Usage

Read.mzTab(mSetObj = NA, filename, identifier = "name")

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects).

filename

The name of the mzTab file to parse.

identifier

The identifier to be used when the table is parsed. Use "name" to use the chemical_name, "mass" to use the theoretical_neutral_mass and "sml_id" to use the SML_ID. If the number of missing name and mass entries is greater than 90 then the SML_ID will be used.


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.