as_lipidomics_experiment: Convert data.frame/matrix to LipidomicsExperiment

View source: R/bioc.R

as_lipidomics_experimentR Documentation

Convert data.frame/matrix to LipidomicsExperiment

Description

Convert data.frame/matrix to LipidomicsExperiment

Usage

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


ahmohamed/lipidr documentation built on July 7, 2023, 2:22 a.m.