View source: R/cosine_by_roi_scan.R
cosine_by_roi_scan | R Documentation |
Take candidate spectra, return a summary of the best matches against a set of master spectra. A prepackaged function to identify a known compound within an ROI in targeted analysis.
cosine_by_roi_scan(spectra_candidate, spectra_master, viz = F)
spectra_candidate |
Tibble containing full scans and an |
spectra_master |
Tibble containing standard spectra, also identified with an roi number. Should be only 1 scan/ROI. |
a summary of spectra_candidate
with only the best match for each ROI and additional column cos
.
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.