View source: R/plot_back2back.R
plot_back2back | R Documentation |
Take candidate spectra, return a summary of the best matches against a set of master spectra.
plot_back2back( ions, pal = c("blue", "red"), x = "mz", label_pctile = 5, alpha_unmatched = 0.8 )
ions |
Grouped tibble containing mz and intensity. |
label_pctile |
Upper percentile of peaks to label with m/z or wl. |
alpha_unmatched |
Alpha value to fade unmatched peaks. |
colors |
Character vector of colors in which to plot the spectra. |
scan_cosines <- cosine_by_roi_scan(spectra_candidate, spectra_master)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.