Description Usage Arguments Value Examples
Plot a dataset contain defined peaks
1 | plot_peaks(df, x, y)
|
df |
Any dataframe with e.g. a spectrum or similar. It must contain a column 'peak' containing TRUE/FALSE values indicating the presence of peaks. |
x |
The values plotted on the x-axis (e.g. wavelength) |
y |
The values plotted on the y-axis (e.g. intensity/counts) |
A ggplot
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.