isoLabel | R Documentation |
isoLabel
adds a set of lines and labels of isotopes generated by
isopattern
to a prettyPlot
. It currently
assumes (like prettyPlot
) that the spectrum is log10 transformed. This will
be extended to arbitrary spectra in the future.
isoLabel(ms, pat, rng = NULL, col = NULL, halfWindowSize = 0.5)
ms |
A |
pat |
A list of isotopic patterns as generated by
|
rng |
Currently unused. |
col |
A vector of colors for the isotopes. If |
halfWindowSize |
A numeric. The half-width of the window for determining the height of the main isotope peak. |
NULL
isopattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.