vitessce / vitessce-python

Python API and Jupyter widget for Vitessce
https://python-docs.vitessce.io
MIT License
38 stars 7 forks source link

Adding Vitessce widgets to a visualization dashboard #345

Closed georgezakinih closed 5 months ago

georgezakinih commented 5 months ago

Hi Vitessce Python Team,

I'm planning to create a dashboard for interactive, real-time visualization of an AnnData object. The dashboard will consist of multiple tabs, and I'm interested in incorporating Vitessce widgets into one of these tabs.

I'm currently exploring frameworks like Streamlit, Voilà, and Shiny for Python to build this dashboard. I've noticed that the Vitessce ipywidget is compatible with Voilà. Additionally, Streamlit has a large and active community.

I'd appreciate your insights on which framework would be the best fit for integrating with Vitessce.

Thanks, George

keller-mark commented 5 months ago

Hi @georgezakinih , I do not have much experience with these dashboard frameworks. However I will note that some of these frameworks are compatible with ipywidgets (and the Vitessce widget in this package is a custom ipywidget) while others are not (I believe streamlit has its own proprietary widget protocol) which would require wrapping the Vitessce JavaScript package with that custom protocol. It also depends whether bidirectional communication is needed (if not, you may be able to use the VitessceConfig.display function which returns ipython HTML output).