-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add multiple clustering resolution functionality #1095
Conversation
# Conflicts: # tests/test_utils.py
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -6,9 +6,10 @@ | |||
"metadata": {}, |
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.
Is there a better way to do this other than raw printing everything out? At the very least, I think this should be formatted so it lists a separate cluster name per row.
Reply via 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.
Not really an automated way to do this since the user needs to manually define the cluster grouping dictionary. I'll fix it so it prints like below.
0 CD4T
1 CD8T
2 CD14_monocyte
3 Bcell
4 other
5 M2_macrophage
6 immune_other
7 M1_macrophage
8 APC
9 stroma
10 endothelium
11 Myofibroblast
12 tumor_ck17
13 tumor_ecad
Name: cell_meta_cluster, dtype: object
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.
Alex covered all the notebook stuff well, I just have a small suggestion for using Pandas' built in methods.
The ark tests are still failing, but can you just review the newest changes so it's ready to go once we get that fixed? @alex-l-kong @srivarra |
…ter_granularities
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 question about adding an additional check.
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.
Looks good
If you haven't already, please read through our contributing guidelines before opening your PR
What is the purpose of this PR?
Closes #1070.
How did you implement your changes
Add helper function to create a new clustering column in the cell table. Include in notebook 4 with a description of the necessary inputs.
Remaining issues
NA