View source: R/annot_from_db2.R
annot_from_db2 | R Documentation |
Simple iterative database search to annotate spectra in a tibble
annot_from_db2(spectra, dir_db, bin, fname_regex = "*.mzXML", cores = 1)
spectra |
Grouped (e.g. by |
dir_db |
Directory containing database spectrum files in an mzR-readable format (mzXML, mzML, etc.) |
fname_regex |
Regex string that can be used to prefilter database files (generally the suffix.) |
Tibble of cosine scores for each spectrum against each file
# effectively add an annotation column to peaks_matched: peaks_matched <- annot_from_db(peaks_matched, "~/msdb/", "methyl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.