Skip to content

kynnemall/superviolin

Repository files navigation

Violin SuperPlots: Visualising replicate heterogeneity in large datasets

Current exemplary superplot

This work builds upon the SuperPlots proposed by Lord et al. (2020) in "SuperPlots: Communicating reproducibility and variability in cell biology". We propose replacing the underlying beeswarm plot with a modified violinplot while keeping the error bars and scatterpoints for each replicate mean/median. This modified SuperPlot serves to improve readability of dense datasets and allow rapid interpretation of the contribution of cell-level data to the summary statistics.

Our Violin SuperPlots editorial is free to read for everyone! Since the publication, I discovered Streamlit sharing which enabled us to develop a web app that acts as a GUI for the package.

Installation and documentation

The package can be installed by running pip install superviolin. It can be used as a CLI app to generate Violin SuperPlots or imported into your own scripts to allow extension and customization of the Superviolin class. The documentation is available in the base directory of this repository. Please cite the editorial when using this package for your research.

Dependencies

  • appdirs
  • click
  • matplotlib
  • numpy
  • openpyxl
  • pandas
  • scikit-posthocs
  • scipy
  • xlrd