-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downstream fiber analysis updates #974
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
…ngi_fiber_filtering
@srivarra @alex-l-kong I've spent too long with this, could use some fresh eyes for code cleaning. 🙄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a few semantic comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few suggestions on cleaning things up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment, otherwise it looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I think it would be useful to add the visualization you put together where each fiber is colored by one of the fiber stats. Either with the option for the user to specify multiple, or just the local alignment.
Can you also generate those for like 50-100 TONIC FOVs? I can't remember if you tweaked anything after we looked at the plots a couple weeks ago
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks good
If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Fine tune the fiber segmentation to only pull out distinct fiber objects, rather than segmenting all collagen signal in the image. Also, implement functions to calculate more specific and useful biological statistics.
How did you implement your changes
calculate_fiber_alignment
function which will add an alignment score column to the saved fiber object table.calculate_density
function, which calculates two types of densities:Remaining issues