Skip to main content

A simple density plotting tool for FACS-like data.

Project description

<img src=”examples/Example_scatter.png” width=”220”/> <img src=”examples/Example_scatter_biexp.png” width=”220”/> <img src=”examples/Example_contour.png” width=”250”/>

<img src=”examples/mouse_cell_density_atlas.png” width=”500”/>

# DensityPlot

A simple and standalone python plotting package for density and scatter plotting commonly used in FACS analysis.

This package was modified from [FlowCal](https://github.com/taborlab/FlowCal) package.

Check [here](https://nbviewer.jupyter.org/github/xuesoso/DensityPlot/blob/master/tutorial.ipynb) for a tutorial on usage.

Pip installation

`bash pip install DensityPlot `

Requirement

scipy >= 0.14.0

matplotlib >= 2.0.0

Modes available

scatter : A scatterplot colored by the data density. Dense regions are merged into bins. Sparse region is represented by as single dots.

mesh : 2D-histogram colored by the data density in the region

scatter_mesh : 2D-histogram with original data values plotted as dots.

contour : A contour map of the data density. Recommend setting `smooth` option as True.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DensityPlot-0.1.6.tar.gz (11.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page