Description Usage Arguments Value Examples
View source: R/mz_iso_annotate.R
mz_iso_annotate
generates a tibble enumerating all possible isotopes of
a molecule and annotates this with the mass or m/z of each isotope
based on the polarity setting and the nominal mass shift of the isotope.
1 | mz_iso_annotate(molecule, polarity = "negative")
|
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"). |
polarity |
Type of m/z to return. Accepts one of "neutral", which returns the monoisotopic mass; "positive", which returns the [M+H]+ mass; or "negative", which returns the [M-H]- mass. |
A named list containing the molecule elements, stable isotopes, scan polarity, and a tibble of annotated isotope information.
1 2 | mz_iso_annotate("C5H8O5")
mz_iso_annotate("C5H8O5", polarity = "negative")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.