Work with well plates!
Project description
Well Plate (well_plate)
Makes nice visualizations of well plates!
Installation
pip install well_plate
Dependencies
Options
-
Well numbers
- 6
- 12
- 24
- 96
- 384
- To add more see well_plate/config.py
-
Well shape
- 'circle'
- 'rect' (square)
-
Add data
- use
wp.add_data()
; pass in a pd.Series with the index corresponding to well plate index (eg. "A1", "E4", ...)
- use
Example
Basic example
import well_plate
wp = well_plate.WellPlate(24)
wp.plot()
Change well size
import well_plate
wp = well_plate.WellPlate(96, "rect")
wp.plot()
Add data
import pandas as pd
import well_plate
wp = well_plate.WellPlate(384, "rect")
df = pd.read_csv("example1_data.csv", index_col=0)
wp.add_data(df["mw_n"])
wp.plot(key="mw_n")
wp.heatmap(key="mw_n")
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
well_plate-0.0.4.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for well_plate-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4bf4c58c086729c7d3a2aa4a2bc967e548fbf8cbf422c0d49dc7ebff56db9a |
|
MD5 | f9c8df8191bbd7d13969252be54c980d |
|
BLAKE2b-256 | 9f29613e36ce5fd52eb996ee2c884217f4def28a9f8cce1f537562c8bec023c2 |