hammerlab / SmartCount

Repository for collaboration on Celldom computer vision solutions
Apache License 2.0
2 stars 0 forks source link

Array trapping efficiency, confluence, and single cell initial conditions #41

Closed eric-czech closed 5 years ago

eric-czech commented 5 years ago

Hey @jmotschman ,

I added some things to make it possible to scope all the analysis (including the app) to only apartments that started with single cells. It's not a real-time toggle that you can easily exclude yet, but I'll work that in if it comes up a lot. After pulling down these changes, all growth rates will be ignored by default unless they were computed for apartments that started with single cells.

Otherwise, I also added a command to generate notebooks that contain visualizations like this:

celldom run-array-analysis \
--experiment-config-path=/lab/repos/celldom/config/experiment/experiment_example_G3.yaml \
--output-dir=/lab/data/celldom/output/20180923-G3-full \
--apartment-initial-conditions=None \
--na-growth-rate-fill-value=0 
screen shot 2018-10-01 at 8 28 08 am
celldom run-array-analysis \
--experiment-config-path=/lab/repos/celldom/config/experiment/experiment_example_G3.yaml \
--output-dir=/lab/data/celldom/output/20180923-G3-full \
--apartment-initial-conditions='single_cell' \
--na-growth-rate-fill-value=None
screen shot 2018-10-01 at 8 30 01 am screen shot 2018-10-01 at 8 31 25 am screen shot 2018-10-01 at 8 30 54 am

Those are all things that end up in the notebook that gets generated so you could also open it in JupyterLab and start editing some of the graphing properties if you wanted to. There's not an easy way to do that all as plotly figures that work well within a notebook (so opening the plot in their online editor wouldn't be an option) but if you give me a sense of what kinds of things you'd want to change about the visualizations, I'll find some way to make that as easy as possible.