plot_back2back: Plot Spectra Back-to-Back

View source: R/plot_back2back.R

plot_back2backR Documentation

Plot Spectra Back-to-Back

Description

Take candidate spectra, return a summary of the best matches against a set of master spectra.

Usage

plot_back2back(
  ions,
  pal = c("blue", "red"),
  x = "mz",
  label_pctile = 5,
  alpha_unmatched = 0.8
)

Arguments

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.

Examples

scan_cosines <- cosine_by_roi_scan(spectra_candidate, spectra_master)


octopode/tidychrom documentation built on Nov. 2, 2022, 1:32 a.m.