Convert data.frame/matrix to LipidomicsExperiment

as_lipidomics_experiment(df, logged = FALSE, normalized = FALSE)

Arguments

df

A data.frame or matrix where rows are lipids and columns are samples. Lipid names should be provided in the first column or in rownames of df. Measurements should be numeric. The data is considered summarized unless at least one lipid is duplicated (has > 1 row).

logged

Whether the data is log-transformed

normalized

Whether the data is normalized

Value

LipidomicsExperiment