Hi AFNI users,
I’ve been stuck with the FSread_annot command and I’m looking forward to get some help from you:
I created cortical surface parcellation with the Destrieux atlas in Freesurfer and then I modified the annotation file (i.e. lh.aparc.a2009s.annot) so that for each ROI, the RGB values correspond to specific decoding accuracy values (namely the brighter the color is, the higher the decoding accuracy is). I then imported my annotation file (i.e. lh.aparc_parula.a2009s.annot) in Freesurfer and the result is like
Surface Parcellation:
I also wanted to merge the left and right hemispheres and display them at the same time but I’m not sure whether Freesurfer could do that, so I switched to AFNI/SUMA:
- Convert files to AFNI data format:
$ SUMA_Make_Spec_FS -sid ..
- Convert my own annotation file:
$ FSread_annot -input lh.aparc_parula.a2009s.annot -dset lh.aparc_parula.a2009s.annot.niml.dset
- Initialize SUMA and then use surface controller to load my own annotation file:
$ SUMA -spec *lh.spec
But when I loaded the lh.aparc_parula.a2009s.annot.niml.dset file, it showed “Can’t open file, .. Cannot find callback list in XtAddCallback”. If I loaded the lh.aparc.a2009s.annot.niml.dset file which was generated by SUMA_Make_SPec_FS, everything looked good. I was wondering whether I missed something important here.
Thank you very much for your help!
Best,
Xixi