Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multiform

Multiply a chemical formula


Description

Multiply all atom numbers in a chemical formula by a factor

Usage

multiform(formula1,fact)

Arguments

formula1

Chemical formula to be multiplied, vector of character strings

fact

Factor to multiply with

Details

Useful for adduct calculations, check adducts. Chemical formulas must conform to what is described in check_chemform.

Value

Multiplied chemical formula, character string

Author(s)

Martin Loos

See Also

Examples

formula1<-c("C10[13]C2H10Cl10")
multiform(formula1,3)

enviPat

Isotope Pattern, Profile and Centroid Calculation for Mass Spectrometry

v2.4
GPL-2
Authors
Martin Loos, Christian Gerber
Initial release
2019-03-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.