convert_mztab2mass_dataset: Convert mzTab Data to mass_dataset Object

View source: R/convert_mztab2mass_dataset.R

convert_mztab2mass_datasetR Documentation

Convert mzTab Data to mass_dataset Object

Description

This function converts mzTab data into a mass_dataset object. It processes the mzTab data to create a mass_dataset object containing expression data, sample information, and variable information.

Usage

convert_mztab2mass_dataset(file, path = ".")

Arguments

file

The name of the mzTab file to be read.

path

The directory where the mzTab file is located. Default is the current directory.

Details

The function reads mzTab data and processes it to create a mass_dataset object. It extracts sample information, variable information, and expression data. It also performs checks to ensure the data is correctly formatted.

Value

A mass_dataset object containing the processed mzTab data.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

## Not run: 
# Assuming 'mztab_file' is the name of the mzTab file
mass_dataset <- convert_mztab2mass_dataset(file = mztab_file)

## End(Not run)


tidymass/massdataset documentation built on Sept. 14, 2024, 4:41 p.m.