View source: R/make_spectrum_array.R
Used to create a combined spectrum showing an experimental spectrum and peaks picked from a theoretical spectrum generated using a score matrix, sequence, optional PTM formula, charge, and resolving power.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
mz |
A numeric vector containing m/z values for an experimental spectrum. |
intensity |
A numeric vector containing intensity values for an experimental spectrum. |
SNR |
Signal-to-noise cutoff to use for peak picking. See ?MSnbase::pickPeaks. |
method |
Method to use for peak picking. See '?MSnbase::pickPeaks'. |
refineMz |
Method for m/z refinement for peak picking. See ?MSnbase::pickPeaks. |
k |
Number of neighboring signals to use for m/z refinement if refineMz = "kNeighbors". See ?MSnbase::pickPeaks. |
sequence |
Sequence of the protein represented by the m/z and intensity vectors. |
PTMformula |
Chemical formula of PTMs of the proteoform represented by the m/z and intensity vectors. Formulas for all PTMs should be combined. |
charge |
Charge state of the proteoform represented by the m/z and intensity vectors. |
resolvingPower |
Resolving power to be used for generating the initial theoretical spectrum. This parameter does not need to match the resolving power of the experimental spectrum. |
score_matrix |
A matrix containing 12C and 14N abundances. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.