Construct SummarizedExperiment object from a matrix
constructSe(dat, assay = "raw", name = NULL, colData = NULL, rowData = NULL)
A p*n data frame or a matrix object where p is the number of metabolites and n is the number of samples
A name of assay to be labelled
Name of the data
A DataFrame object. This should include type of replicates, sample name and etc.
A DataFrame object. This should include details of the metabolites.
A SummarizedExperiment object