View source: R/convert_mzmine2mass_dataset.R
convet_mzmine2mass_dataset | R Documentation |
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.
convet_mzmine2mass_dataset(x, rt_unit = c("minute", "second"))
x |
A data frame containing MZmine data. |
rt_unit |
The unit for retention time, either "minute" or "second". Default is "minute". |
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.
A mass_dataset
object containing the processed MZmine data.
Xiaotao Shen shenxt1990@outlook.com
data("mzmine_table")
head(mzmine_table[,1:3])
object =
convet_mzmine2mass_dataset(x = mzmine_table)
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.