Description Usage Arguments Details Value Examples
Method defining plot()
for the MassSpectra
class
plot has no generic by default
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
object of type MassSpectra |
y |
missing |
... |
further args |
mzRange |
vector or lenght two, indicating the mz range to be plotted |
normalize |
boolean should the mass spectra be normalized |
comps |
numeric vector of length two denominating the components to be plotted |
pcType |
character 'pcaLoadings' or pcaScores' |
label |
boolean plot label |
labelThreshold |
numeric threshhold on which values to plot a label |
The output of this method is adapted for plotting mass spectra. Uncalibrated
data is plotted as xy plot while uncalibrated data is plotted as barplot.
The parameter mzRange
allows choosing the plot range directly
according to the mz number (when calibrated). The argument lineplot
,
TRUE by default, allows to switch between line and barplot.
graphical output
plot of mass spectra
scatter loading/score plot
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.