OpenMS
pyopenms_viz
Jupyter Notebook

Streamlining Mass Spectrometry Data Visualization with Pandas

Last updated Jun 26, 2026
23
Stars
20
Forks
16
Issues
0
Stars/day
Attention Score
68
Language breakdown
Jupyter Notebook 78.1%
HTML 20.9%
Python 1.0%
Shell 0.0%
Files click to expand
README

description

pyOpenMS-viz: The Python Pandas-Based Mass Spectrometry Visualization Library

pypipv pypiv pypidownload continuous-integration readthedocs

pyOpenMS-Viz is a Python library that provides a simple interface for extending the plotting capabilities of Pandas DataFrames for creating static or interactive visualizations of mass spectrometry data. It integrates seamlessly with various plotting library backends (matpotlib, bokeh and plotly) and leverages the power of Pandas for data manipulation and representation.

Features

  • Flexible plotting API that interfaces directly with Pandas DataFrames
  • Support for multiple plotting backends: matplotlib (static), bokeh and plotly (interactive)
  • Visualization of various mass spectrometry data types, including 1D chromatograms, spectra, and 2D peak maps
  • Versatile column selection for easy adaptation to different data formats
  • Consistent API across different plotting backends for easy switching between static and interactive plots
  • Suitable for use in scripts, Jupyter notebooks, and web applications

Supported Plots

| Plot Type | Required Dimensions | pyopenms_viz Name | Matplotlib | Bokeh | Plotly | |-----------------|-------------------------|-----------------------------------------------------------|----------------|-----------|------------| | Chromatogram | x, y | chromatogram | ✓ | ✓ | ✓ | | Mobilogram | x, y | mobilogram | ✓ | ✓ | ✓ | | Spectrum | x, y | spectrum | ✓ | ✓ | ✓ | | PeakMap 2D | x, y, z | peakmap | ✓ | ✓ | ✓ | | PeakMap 3D | x, y, z | peakmap (plot3d=True) | ✓ | | ✓ |

(Recommended) Pip Installation

The recommended way of installing pyopenmsviz is through the Python Package Index (PyPI). We recommend installing pyopenmsviz in its own virtual environment using Anaconda to avoid packaging conflicts.

First create a new environment:

conda create --name=pyopenms_viz python=3.12
conda activate pyopenms_viz
Then in the new environment install pyopenms_viz.
pip install pyopenms_viz --upgrade

Documentation

Documentation can be found here

References

🔗 More in this category

© 2026 GitRepoTrend · OpenMS/pyopenms_viz · Updated daily from GitHub