wb_command -cifti-merge takes the output filename first, then you repeat "-cifti <input>" for each input file (which is why in the help the -cifti option is marked as repeatable), in the order you want them concatenated.
The help information for -cifti-merge includes this example and explanation: Example: wb_command -cifti-merge out.dtseries.nii -cifti first.dtseries.nii -column 1 -cifti second.dtseries.nii This example would take the first column from first.dtseries.nii, followed by all columns from second.dtseries.nii, and write these columns to out.dtseries.nii. See: http://humanconnectome.org/software/workbench-command.php?function=-cifti-merge Tim On Fri, Sep 25, 2015 at 5:12 PM, Stevens, Michael < michael.stev...@hhchealth.org> wrote: > Hi folks, > > > > Today, I tried using PALM to load CIFTI files directly in order to > estimate some simple 1 and 2 sample t tests on some HCP-processed data I’ve > got from one of my projects. But I quickly ran into a problem. Anderson > Winkler and I just talked about it via email. He pointed out that I was > trying to load 45 dense-data activation map images into PALM in a way that > the program interpreted as needing to have only 45 datapoints along the > first dimension. In other words, PALM doesn’t like the CIFTI output from > HCP’s fMRI modelling script when it’s loaded directly using the -i input > specification. > > > > Anderson suggested things might work more easily if I merged these CIFTI > files into a 4D file. But he also suggested I pay close attention to how > the data was oriented so that PALM interprets things right. I know I could > instead follow previous posts about splitting the data up into NIFTI volume > vs. surface data, running stats, and ultimately recombining, but I was > hoping that PALM really could do everything in one step if the CIFTI stats > file data was prepped right, as that’d make it a bit easier to try out all > the cool statistical options Anderson built into PALM across the various > HCP datasets I’ve got at hand. > > > > Can anyone whose dealt with this or a similar problem before tell me > exactly how to invoke the wb_command –cifti-merge command to collapse into > 4D and to orient these CIFTI data properly for PALM group-level analyses? > > > > Thanks, > Mike > > > > *This e-mail message, including any attachments, is for the sole use of > the intended recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure, or distribution is > prohibited. If you are not the intended recipient, or an employee or agent > responsible for delivering the message to the intended recipient, please > contact the sender by reply e-mail and destroy all copies of the original > message, including any attachments. * > > _______________________________________________ > 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