-
Notifications
You must be signed in to change notification settings - Fork 5
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
Well phenotype probability comparisons #15
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
Great clean PR! Consider making edits in the documentation sections of the functions specifically adding summaries to the docstrings stating what the purpose of the function is. Also, consider adding type hints to the functions.
I think if you choose to apply these edits, they are pretty straight forward so I am going to approve this PR, but please let me know if you want me to take another look?
...ze_data/nbconverted/log_reg_class_balanced_areashape_analyze_well_predicted_probabilities.py
Show resolved
Hide resolved
...ze_data/nbconverted/log_reg_class_balanced_areashape_analyze_well_predicted_probabilities.py
Outdated
Show resolved
Hide resolved
...ze_data/nbconverted/log_reg_class_balanced_areashape_analyze_well_predicted_probabilities.py
Show resolved
Hide resolved
...ze_data/nbconverted/log_reg_class_balanced_areashape_analyze_well_predicted_probabilities.py
Show resolved
Hide resolved
Thanks Mike, merging now! |
In this pr, the predicted probabilities of phenotypes are compared between treated wells and the negative control(s). This is accomplished by comparing the predicted probabilities of cells in each treatment well with cells in the control wells. Stratified sampling of cells from control wells ensure a proportionate representation of cell populations during these comparisons. Wells with a cell count bellow 50 are disregarded. To create the comparisons I performed a KS test between the respective control and treatment probability distributions. Another pr will be created to update the README and possibly other intermediary scripts. Please let me know if you have any questions or suggestions.