help > Using other atlas for 2nd level results
Showing 1-2 of 2 posts
Display:
Results per page:
Feb 15, 2018  03:02 PM | Tudor Ionescu
Using other atlas for 2nd level results
Dear all

I would like to use another atlas for Seed-to-Voxel second-level analysis (other than atlas.nii). Actually I have an own atlas I would like to use, but I don't only have problems using my atlas, but also the "networks.nii" atlas which comes with the toolbox. The error I get is:

"Error using pinv
Too many input arguments.

Error in conn_vproject>vproject_display (line 896)
refsrois.data = spm_get_data(refsrois.V,pinv(refsrois.V.mat)*mat{1}*[xyz,ones(size(xyz,1),1)]')

I have the supposition this is because atlas.nii is a 3D Nifti volume, yielding a 1x1 refsrois.V.mat structure and other atlases such as networks.nii are 4D Nifti, yielding mx1 refsrois.V.mat structures (m being the number of volumes of the Nifti). I tried to work around it by only choosing the first structure (refsrois.V(1).mat), however this led to other errors at a later point in the script.

Do you have an idea how to solve this problem? I would much appreciate it.

Best regards
Tudor
Apr 11, 2018  05:04 PM | Aisling O'Neill
RE: Using other atlas for 2nd level results
Interested in this, too!

A