Description Usage Arguments Value Examples
mz_atomize
separates a molecular formula into element and count,
returning a named vector of element counts.
1 | mz_atomize(molecule)
|
molecule |
A string containing a molecular formula (e.g., "C2H7NO3S"). Structural formulas containing parentheses are not acceptable. Charges may be included, but the charge count should follow the sign (e.g., "C10H16N5O13P3-3"). |
A vector of counts named by element.
1 2 3 | mz_atomize("C5H8O5-")
mz_atomize("C2H7NO3S")
mz_atomize("C10H16N5O13P3-3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.