Hi Donatas, The surface file, that correspond to one particular subject, is probably fine as far as it has the same geometry (number of vertices and faces) as all other subjects.
For the area file, PALM expects it to be the average area across all subjects, as opposed to the actual areas for all subjects. To fix, just average the areas. I think the option -metric-reduce of wb_command should do it. Hope this solves the problem! All the best, Anderson On 22 May 2017 at 06:51, Donatas Sederevicius <donatas.sederevicius@ psykologi.uio.no> wrote: > Dear HCP experts, > > > > I'm trying to run a group analysis of Myelin maps using PALM. For data > pre-processing I followed the example as described here: > https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/PALM/Examples#Example > _10:_Using_CIFTI_files (Case 2). My final command is: > > > > palm -i TP2.lh.func.gii -s lh.midthickness.surf.gii TP2.lh.area.func.gii > -d design.mat -t design.con -n 5000 -o results.lh.cort > -evperdat TP1.lh.func.gii 5 -C 3.1 -corrcon -ee -T -transposedata > > > > -lh.midthickness.surf.gii is a file that has a surface mapping for one > particular subject of the group (followed http://www.mail-archive.com/hc > p-us...@humanconnectome.org/msg03820.html) > > > > -TP2.lh.func.gii and TP1.lh.func.gii are metric files concatenated for > all subjects in the same order. Therefore, I'm using timepoint 1 data as a > regressor. > > > > When running the command I get the following error: > > ------------------------------------------------------- > > Index exceeds Matrix Dimensions. > > > > Error in palm_clustere (line 81) > > elseif plm.Yisvtx(y) || plm.Yisfac(y), > > > > > > Error in palm_core (line 1678) > > > > [plm.Gclumax{y}{m}{c}(p),plm.Gclu{y}{m}{c}] > > = clusterfunc( ... > > > > Error in palm (line 81) > > palm_core(varargin{:}); > > -------------------------------------------------- > > What could be wrong? > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users