Skip to contents

This function will load LC-MS data from a file.

Usage

load_data(input, type = "known", sheet = 1, id = "Metabolite")

Arguments

input

A string of the file path or a data frame of the data to be loaded.

type

A string indicating the type of data to be loaded. This can be "known" or "unknown".

sheet

A string or integer indicating the sheet number of the excel file to be loaded.

id

A string indicating the column name of the compound ID.

Value

A list of the sample metadata, feature metadata, and the data matrix.