-
Notifications
You must be signed in to change notification settings - Fork 58
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 CBMA workflow #761
Add CBMA workflow #761
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #761 +/- ##
==========================================
+ Coverage 88.46% 88.86% +0.40%
==========================================
Files 40 41 +1
Lines 4758 4823 +65
==========================================
+ Hits 4209 4286 +77
+ Misses 549 537 -12
... and 1 file with indirect coverage changes 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 in Codecov by Sentry. |
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.
LGTM, just a couple changes for logging messages
I think a notebook example could be helpful for this pull request, I started one here: https://github.com/jdkent/NiMARE/blob/cbma-workflow/examples/02_meta-analyses/10_plot_cbma_workflow.py |
the boilerplate pull request was merged in, so the items for this pull request are:
|
One potential issue with setting the default corrector to FWE montecarlo is that the example with a single line |
lets bring this up in the meeting, perhaps FDR could be a better default. |
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.
This is looking good!
Just a few minor comments from me.
Co-authored-by: James Kent <[email protected]>
for FDR/Bonferonni can we use nilean instead? https://github.com/nilearn/nilearn/blame/df62edf5136b94749d8ab99abdbf210db5e7c799/nilearn/glm/thresholding.py#L180 |
@jdkent @tsalo I was trying to implement this, but I'm a little confused about a couple of things.
An alternative approach would be to add an alpha parameter to the |
oof, I mean I still like the idea of off-loading this functionality to nilearn, but perhaps in the interim we do something similar to how we are handling cluster tables? Copy their code and modify it so it does not return thresholded maps? I can see the argument from a data sharing perspective that we don't want to arbitrarily "zero-out" voxels. that's useful information generally. I was viewing it through a result presentation perspective, where if you correct the results at a particular threshold, then that is the threshold that should be applied to the data. |
but perhaps the nilearn implementation is too different for our use case. |
everything looks good to me, great work @JulioAPeraza! |
For now the nilearn method of thresholding is a different concept of how we are doing correction. |
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.
LGTM!
Closes #760.
Changes proposed in this pull request:
MetaResult.save_tables()
.