Skip to content
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

Drop sample size from Dataset.coordinates #231

Closed
tsalo opened this issue May 25, 2020 · 4 comments · Fixed by #232
Closed

Drop sample size from Dataset.coordinates #231

tsalo opened this issue May 25, 2020 · 4 comments · Fixed by #232

Comments

@tsalo
Copy link
Member

tsalo commented May 25, 2020

Currently, we store sample sizes in both the Dataset.metadata and the Dataset.coordinates attributes. We should drop the n column in Dataset.coordinates and make sure that CBMA algorithms grab that info from the metadata instead.

NOTE: Originally part of #179, but that PR sprawled and will probably be closed.

@nicholst
Copy link

Please forgive me if we've discussed this before, but have we considered (at least in the architecture if not the current implementation) the possibility of voxel-wise-varying sample size?

It's now an edge case, but with larger and larger N (for an individual, non-meta analysis), you have the problem of ever eroding analysis mask since all voxels are required. We are now building tools that allow the number of subjects contributing to an analysis vary by voxel (within limits, of course).

@tsalo
Copy link
Member Author

tsalo commented May 26, 2020

@nicholst Apologies for closing the issue with #232.

I don't know if we've discussed it, but I don't remember talking about it.

Is this something that would apply to CBMA methods, or just IBMA ones? For CBMAs, I'm guessing that the adjustment would be more of a guess, while for IBMAs, that information could actually be accessible.

I should note that, while sample size is not stored in the Dataset's coordinates dataframe (it's in the metadata one instead), at the point where the CBMA estimator operates on the data, sample size (and any other relevant metadata) will be in the dataframe. So any adjustment done internally within the estimator will still have access to that info.

@nicholst
Copy link

Is this something that would apply to CBMA methods, or just IBMA ones? For CBMAs, I'm guessing that the adjustment would be more of a guess, while for IBMAs, that information could actually be accessible.

Oh, sorry! This is only for IBMA.

@tsalo
Copy link
Member Author

tsalo commented May 26, 2020

Gotcha. I think it would be good to open an enhancement issue for this once it's ready then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants