I would like to run ROI-based RSA using CoSMoMVPA. I had a look at the exercise in the LABMAN2017 course and have a question about the input to construct the dissimilarity matrix. It seems you calculate correlations using the glm_T_stats_perrun.nii file. I guess the file contains (contrast?) values for each condition and for each run, right? How do you construct that image exactly (e.g, with betas from the GLM, stimulus vs. baseline contrasts, etc.)? If you have some code for the procedure, that could also be helpful. Thanks for your help!