These instructions work with this dataset from Franco Pestilli. Try the directory STN/sub-FP.
mlrPath mrTools+vista
This will make it so only mrTools is in your path as well as a few vistasoft paths that do not conflict. You will also need to have mba in your path.
mlrPlugin('altPlugins');
and selecting mlrLife and mlrAnatomy. This should be done before starting mrLoadRet.
makeEmptyMLRDir('mlr')
cd Demo_Data_for_Multidimensional_Encoding_of_Brain_Connectomes/STN/sub-FP/anatomy [d h] = mlrImageLoad('t1.nii.gz'); h.hdr.qform_code = 1; h.hdr.sform_code = 1; mlrImageSave('t1_sform_code_fix.nii',d,h);