angelolab / ark-analysis

Integrated pipeline for multiplexed image analysis
https://ark-analysis.readthedocs.io/en/latest/
MIT License
71 stars 25 forks source link

Add fallback protection to Pixie cell clustering #999

Closed alex-l-kong closed 1 year ago

alex-l-kong commented 1 year ago

What is the purpose of this PR?

Closes #992. Because cell clustering now takes a considerable amount of time, chance of intermediate failure also increases. There is no current way to recover intermediate cell training data if this happens, so this needs to be added.

How did you implement your changes

  1. Add intermediate saving of the cell training data in the cell clustering notebook. This allows any data, along with any cluster labels, to be loaded in on restart.
  2. Add overwrite functionality to the cell SOM assignment and cell consensus clustering functions. This will allow the user to redo these if they use different parameters.
review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB