Seurat method for label projection - #533
Conversation
Codecov ReportBase: 94.64% // Head: 94.67% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #533 +/- ##
==========================================
+ Coverage 94.64% 94.67% +0.03%
==========================================
Files 138 139 +1
Lines 3438 3458 +20
Branches 176 176
==========================================
+ Hits 3254 3274 +20
Misses 123 123
Partials 61 61
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
scottgigante-immunai
left a comment
There was a problem hiding this comment.
Thanks for the PR! I made a couple changes so the kwargs can be set from the python method call to be consistent with other methods that take parameters, otherwise LGTM!
|
Great, thanks! Is there a benchmark run for this anywhere or test benchmark, where I can verify that these predictions score something? |
|
You can use and compare the printed score to that of others methods |
|
Let me know when you're happy with the parameter choices and I'll merge (once tests pass). In the long run we might implement a hyperparameter search helper to make this easier. |
LuckyMD
left a comment
There was a problem hiding this comment.
Overall it looks good.. just a documentation question and a technical consideration regarding a possible failure mode.
|
On Have you run into this? I guess it has to do with different storage formats of dataset objects on the python loading side. |
|
@mxposed I just added a commit that should handle this. I might eventually roll it into RFunction -- R is really not designed to handle CSR matrices. |
|
@scottgigante-immunai Thank you, this fixed this issue. Well, now I'm just getting |
|
@mxposed your AWS credentials should allow you to spin up an EC2 instance with the AWS CLI. Goes without saying, but please be cognisant of resources and shut down the machine when you are done :) |
|
If you create an instance with |
|
Update: there's some tricky permissions issues here, I'll investigate and give you working commands |
|
Instructions: |
|
Unfortunately, the problem with #541 occurs here too. I'll apply the same fix and then I think we should merge. |
|
Thank you! Maybe it'll fix my testing in Docker on local too. Please wait for me to run the benchmarks. |
@mxposed drop me a message on CZI biohub slack and we can find some time |
|
Sorry for delay. Thank you for EC2 instructions, they work. I have tested seurat method with 4 datasets, I get either 0 or 1, which is very suspicious. I checked the saved rds object in PS. Seurat methods run in 10-15 mins on EC2. I suspect they should also run on the laptop. |
|
I found the problem. R is implicitly converting |
|
Thank you! Sorry I didn't get to this earlier than you! |
|
Performance is now f1=0.958 on pancreas_batch and 0.41 on zebrafish_labels, making this the top performing method so far. Great work! |
Submission type
Testing
request (include link to passed test: https://tower.nf/orgs/openproblems-bio/workspaces/openproblems-bio/watch/3EOkXLUlZ4fHJ8)
Benchmark" tests), I will open this PR as a draft (click on the down arrow next to the
"Create Pull Request" button)
Submission guidelines
Contributing document
same update/change
PR review checklist
This PR will be evaluated on the basis of the following checks:
__init__.pyand were tested in the pipelineversion, and date
metrics (for new tasks)