Convert MS-DIAL feature table to mass_dataset class.

convert_msdial2mass_dataset(x)

Arguments

x

Feature table from MS-DIAL.

Value

A mass_dataset-class object.

Author

Xiaotao Shen shenxt1990@outlook.com

Examples


data("msdial_table")
object =
  convert_msdial2mass_dataset(x = msdial_table)
object
#> -------------------- 
#> massdataset version: 1.0.12 
#> -------------------- 
#> 1.expression_data:[ 3751 x 20 data.frame]
#> 2.sample_info:[ 20 x 5 data.frame]
#> 3.variable_info:[ 3751 x 32 data.frame]
#> 4.sample_info_note:[ 5 x 2 data.frame]
#> 5.variable_info_note:[ 32 x 2 data.frame]
#> 6.ms2_data:[ 0 variables x 0 MS2 spectra]
#> -------------------- 
#> Processing information (extract_process_info())
#> 1 processings in total
#> create_mass_dataset ---------- 
#>       Package                 Function.used                Time
#> 1 massdataset convert_msdial2mass_dataset() 2022-08-07 19:33:01