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
Value
graphical output
plot of mass spectra
scatter loading/score plot
Details
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.