Description Usage Arguments Value
View source: R/Functions_Spectra.R
Match peaks in a spectrum with those in a labeling data.frame and prepare them for plotting functions. Matches have to be within abs OR ppm
1 2 | annotateSpectrum(labels, spectrum, mzlabel = F, unmodifiedTag = "",
ppm = 5, abs = 0)
|
labels |
a data.frame as returned by permutatePeptideMass |
spectrum |
a mass spectrum as data.frame or matrix |
mzlabel |
if TRUE, will add mz values to the label |
unmodifiedTag |
what tag to use for unmodified fragment ions |
ppm |
relative matching tolerance in ppm |
abs |
matching tolerance in absolute numbers |
plots an annotated peptide sequence in the current plotting device
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.