scirpy icon indicating copy to clipboard operation
scirpy copied to clipboard

Interactive plotting

Open grst opened this issue 4 years ago • 0 comments

The suggestion was brought up to build an interactive version of the vdj_usage sankey plot, to appreciate less abundant gene combinations by hovering over the respective segments.

While this single interactive plot could probably be straightforwardly solved implementing either

I would like to first discuss interactive visualization in a broader scope.

Considerations

  • Ideally use one single library throughout all visualizations to avoid the "dependency hell"
  • In any case, it should be an optional dependency (i.e. be imported upon function call only)
  • There is a similar discussion in Scanpy (https://github.com/theislab/scanpy/issues/253) and some demo examples: https://github.com/theislab/interactive_plotting. (implemented using Bokeh and Holoview it seems)

Interactive plotting libraries (non-exhaustive)

  • Plotly
  • vega
  • bokeh
  • mpld3
  • Holoview

Plot that would profit a lot from interactivity

  • vdj_usage
  • clonotype_network
  • "linked plots", e.g. selecting cells in UMAP and updating group_abundance automatically.

grst avatar Jun 05 '20 08:06 grst