angelolab / ark-analysis

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

Fiber stats bugs #1128

Closed camisowers closed 3 months ago

camisowers commented 3 months ago

If you haven't already, please read through our contributing guidelines before opening your PR

What is the purpose of this PR?

Fixes bugs in generate_summary_stats and generate_tile_stats, which was causing all the metric averages for a fiberto be the same at the first metric value. Also set pixel density and fiber values to different variables.

How did you implement your changes

Fix a few silly typos. Add tests to check for different calculated stats.

Remaining issues

N/A