as_lipidomics_experiment: Convert data.frame/matrix to LipidomicsExperiment

Description Usage Arguments Value

View source: R/bioc.R

Description

Convert data.frame/matrix to LipidomicsExperiment

Usage

1
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


lipidr documentation built on Nov. 8, 2020, 7:50 p.m.