Description Usage Arguments Value
From xcmsRaw object, this function allows plotting MS2 spectrum for a selected m/z or selected scans, with peak labels and PrecursorMz line. Additionally, common noise peaks can be excluded from the peak labels.
1 2 3 |
xcmsraw |
xcmsRaw object |
mz |
Precursor m/z value to plot (default NULL). Either one of the |
scanNum |
Scan numbers to plot (default NULL). A numeric vector. |
mzabs |
Tolerance for scan selection in absolute m/z values. |
digits |
Digits for peak label. |
mzrange |
m/z range to plot. |
halfWindowSize |
See |
SNR |
See |
top |
The number of peaks to label (default 10). |
noisePeaks |
A numeric vector. Peaks that should not be labeled. |
Invisibly (only when assigned to a variable) returns averaged spectrum as a data frame. If no MS/MS spectrum is found for the precursor m/z or scan numbers, NULL is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.