parse_adduct: Parse adduct

View source: R/parse_adduct.R

parse_adductR Documentation

Parse adduct

Description

This function parses adducts

Usage

parse_adduct(
  adduct_string,
  regex = "\\[(\\d*)M(?![a-z])(\\d*)([+-][\\w\\d].*)?.*\\](\\d*)([+-])?"
)

Arguments

adduct_string

Adduct to be parsed

regex

Regex used for parsing

Value

Parsed elements from adduct

Examples

NULL

taxonomicallyinformedannotation/tima-r documentation built on July 17, 2024, 7:11 p.m.