Dear Martin,
I use the TDT software to analyse fMRI with a complex design, with a lot of categories (different modalities of the same categories).
I would like to analyse my scans for the same category in different modalities: for example, training the toolbox on the category A in a modality X vs other categories in modality X, and then test it on the same category A in modality Y vs the other categories in modality Y, to see wheter in a different modality, we can still decode the category. Is that clear?
Is it possible to do so with the toolbox?
Thanks a lot for this software and for your help,
Fabien
Hi Fabien,
I think what you are interested is known as cross-classification. Check out line 116 in decoding_tutorial.m
for an example, which I reformatted for you:
% cfg = decoding_describe_data(cfg,{labelname_modXcatA labelname_modXcatOther labelname_modYcatA labelname_modYcatOther},[1 -1 1 -1],regressor_names,beta_loc,[1 1 2 2]);
Then, instead of make_design_cv
, you would either use make_design_xclass
or make_design_xclass_cv
. The difference is that the former uses all runs, i.e. cross-classification within run is allowed, while the version with cv
still does leave-one-run-out.
Hope that helps!
Martin
Hello,
Thanks for your fast answer, I will try it as soon as possible, but it looks like perfect!
Fabien