A wrapper function for Rdisop::getMolecule, getIsotopes etc., that allows easier plotting of the isotope patterns.
1 2 | plotIsotope(chemsc, z = 0, add = FALSE, type = "p", ymax = 1,
max.iso = 5, ...)
|
chemsc |
Chemical sum composition (elemental formula) as a character (e.g. "H2O"). |
z |
Charge |
add |
Logical (default FALSE). If TRUE, overlay isotope pattern on an existing plot. |
type |
Type argument for plotting (used within points() function). Default, "p" (point). |
ymax |
Default=1. The height of the maximum peak. |
max.iso |
Maximum number of isotopes to plot. Default, 5. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.