get_info_adduct: Adduct calculations

Description Usage Arguments Value

View source: R/chem_formula_2_adducts.R

Description

Based on functions in R package enviPat.

Usage

1
2
3
4
5
6
7
8
get_info_adduct(
  chem.forms,
  adduct.name = "M+H",
  adducts,
  isotopes,
  threshold = 20,
  rel_to = 0
)

Arguments

chem.forms

Vector of character strings with chemical formulas.

adduct.name

Character. Name of adduct to be calculated (see adducts for possible adduct names).

adducts

dataframe with common adducts (see adducts).

isotopes

dataframe with stable isotopes (see isotopes).

threshold

Numeric (1-100). Probability below which isotope peaks can be omitted (see isopattern).

rel_to

Integer (0, 1, 2, 3 or 4). Probability definition (see isopattern).

Value

data frame with the following information about each feature:


szymczak-lab/preprocessHighResMS documentation built on Oct. 6, 2020, 12:50 a.m.