convet_mzmine2mass_dataset: Convert MZmine Data to mass_dataset Object

View source: R/convert_mzmine2mass_dataset.R

convet_mzmine2mass_datasetR Documentation

Convert MZmine Data to mass_dataset Object

Description

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

Usage

convet_mzmine2mass_dataset(x, rt_unit = c("minute", "second"))

Arguments

x

A data frame containing MZmine data.

rt_unit

The unit for retention time, either "minute" or "second". Default is "minute".

Details

The function reads MZmine 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 MZmine data.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

data("mzmine_table")
head(mzmine_table[,1:3])
object =
  convet_mzmine2mass_dataset(x = mzmine_table)
object

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