Learn R Programming

LipidMS (version 3.1.0)

dbsAdducts: Create tables containing the m/z of lipids along with their preferred adducts

Description

Create tables containing the m/z of lipids along with their preferred adducts for each polarity

Usage

dbsAdducts(file = NULL, sep = ";", sep_adducts = ",", polarity, classes = NULL)

Value

dbs_modif

Arguments

file

path csv with classes to predict

sep

Character. Field separator used when reading the CSV file.

sep_adducts

Character. Separator used to split multiple adducts within the "Adducts" column of the file.

polarity

character value: 'negative', 'positive'.

classes

A vector containing the lipid classes for which retention time is to be predicted. If classes = NULL, predictions will be made for all classes where there are candidates and data to create a model.

Author

Celia Regal Marques <celia_regal@iislafe.es>