Going back to MNI space for RSA #191
Replies: 1 comment 4 replies
-
|
Could you provide some information / code on how exactly you are calling GLMsingle? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’m running GLMsingle on fMRIPrep-preprocessed BOLD data and want to use the resulting betas for ROI-based RSA with nilearn.
GLMsingle outputs betas as a 2D NumPy array (trials × voxels).
The betas have shape (n_trials, 272426) while the fMRIPrep mask produces only 111905 voxels. This mismatch causes inverse_transform to fail when trying to map betas back to brain space. Am I missing something - is there a masker that is saved somewhere? Or an alternative workaround to work directly on the betas? Apologies if this is quite basic - I'm still trying to wrap my head around some of the outputs.
Thanks a lot for your help, and for making GLMsingle available!
Beta Was this translation helpful? Give feedback.
All reactions