TDT: Decoding having only one run

Hi, Martin does seem to occasionally check this place. He may have missed it.

I wish you had tagged me instead for your query back in April. Because I have the solution.

You will need to modify your cfg.files.chunk variable before calling
cfg.design = make_design_cv(cfg);

Click Here for my code that shows how to do it.

I know it is not the simplest to understand, but basically you need to modify your chunks.

K>> cfg.files.chunk

ans =

     1
     2
     3
     4
     1
     2
     3
     4

Here, the first 1-2-3-4 correspond to the first condition, (ie. repeat position 1) there are 4 chunks. The other 4 correspond to repeat position 2. There are 4 chunks for that as well. So each number represents one chunk for the regressor/condition. You will use the same order as you defined your conditions to specify which four corresponds to which condition (ie. labelname1 corresponds to the first four here)

And also, as an alternative to TDT you can take a look at nilearn. I used it for ROI analysis, not for wholebrain but the results were similar and it should not be too difficult to set it up.

Don’t hestitate to ask if you have anyother questions. I would be happy to discuss further as I am doing lots of analysis with this data (in which I have one run) and learned some implications of this kind of data on RSA analysis as well.