pyopenms.plotting#

Plot MSSpectrum & MSChromatogram data

The MSSpectrum plotting function are adapted from: Wout Bittremieux. “spectrum_utils: A Python package for mass spectrometry data processing and visualization.” Plot a single spectrum with plot_spectrum or two with mirror_plot_spectrum, using matplotlib.

Functions

mirror_plot_spectrum(spec_top, spec_bottom)

Mirror plot two MS/MS spectra.

plot_chromatogram(c)

Plot chromatogram peaks.

plot_spectrum(spectrum[, color_ions, ...])

Plot an MS/MS spectrum.