RSA toolbox problems

Dear all

I would like to use the RSA toolbox as it seems still the best option to perform RSA when you would like to compare computational RDMs with brain RDMs using a searchlight approach.

However, it seems that the github repository of the RSA toolbox is quite “dead”, nobody is answering code questions and the code is a little bit buggy. I found several bugs for my case and "recipe_fMRI.m is now working well.
However, by running “recipe_fMRI_searchlight.m” I receive the following error:


Shining RSA searchlights…
…in the brain of subject 1 of 1…



Warning: Escaped character ‘\P’ is not valid. See ‘doc sprintf’ for supported special characters.

In rsa.fmri.fMRIPrepareSearchlightRDMs (line 150)
In Recipe_fMRI_searchlight (line 32)
Saving RDMs to J:Warning: Escaped character ‘\P’ is not valid. See ‘doc sprintf’ for supported special characters.
In rsa.fmri.fMRIPrepareSearchlightRDMs (line 154)
In Recipe_fMRI_searchlight (line 32)
Saving Details to J:Not enough input arguments.

Error in rsa.fmri.fMRISearchlightModelComparison (line 89)
if ~isfield(userOptions, ‘projectName’), error(‘fMRISearchlight:NoProjectName’, ‘ProjectName must be set. See help’);
end%if

Error in Recipe_fMRI_searchlight (line 34)
rsa.fmri.fMRISearchlightModelComparison(models, betaCorrespondence, userOptions);


Is anyone into RSA toolbox and might give me some advise here ?

Thanks a lot, mike

RSA-toolbox repository seems to be updated only occasionally. Getting support is really cumbersome. You probably have figured that out, but for future generation of searchlight-seekers using this toolbox: It seems your code here was missing un user option the project & analysis name early on in the script.

userOptions.projectName  = 'YourProjectName';
userOptions.analysisName = 'YourAnalysisName'; 

The first identifies a collection of files which all belong to the same run of a project. The second identifies a collection of files which all belong to the same analysis within a project.

Hope that helps.

1 Like