sum_formula: sum_formula

Description Usage Arguments Value Author(s) Examples

View source: R/adduct_formula.R

Description

Get the total formula after add adduct.

Usage

1
sum_formula(formula = "C9H11NO2", adduct = "M-H2O+H")

Arguments

formula

Chemical formula.

adduct

Adduct.

Value

formula

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

1
2
3
4
sum_formula(formula = "C9H11NO2", adduct = "M+H")
sum_formula(formula = "C9H11NO2", adduct = "M+")
sum_formula(formula = "C9H11NO2", adduct = "M+CH3COOH")
sum_formula(formula = "C9H11", adduct = "M-H20")

tidymass/tinytools documentation built on Jan. 2, 2022, 5:18 p.m.