Construct SummarizedExperiment object from a matrix

constructSe(dat, assay = "raw", name = NULL, colData = NULL, rowData = NULL)

Arguments

dat

A p*n data frame or a matrix object where p is the number of metabolites and n is the number of samples

assay

A name of assay to be labelled

name

Name of the data

colData

A DataFrame object. This should include type of replicates, sample name and etc.

rowData

A DataFrame object. This should include details of the metabolites.

Value

A SummarizedExperiment object