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.5.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for well_plate-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8809f2c4ab413e54563d5f1c60fa5e69be2f5b294a17c716843fc8b21001ea83 |
|
MD5 | 3427d659f5adc01ea75024c569ae786e |
|
BLAKE2b-256 | 77bad52af5a191a6a8caa7daddc538ad93d2098780239cbe0652743d299653c8 |