You can also use wb_command -cifti-merge to select only those columns you are interested in, once you have identified their indices (besides -file-information, you can select the map in the GUI and its index will be shown beside it):
http://www.humanconnectome.org/software/workbench-command.php?function=-cifti-merge Tim On Fri, Oct 24, 2014 at 2:58 PM, Harms, Michael <[email protected]> wrote: > > Another option, if you simply want to know the Map Names, without loading > the full XML structure into Matlab, is to use the -file-information option > of wb_command. The final column of that output will contain the Map Names. > > cheers, > -MH > > -- > Michael Harms, Ph.D. > > ----------------------------------------------------------- > Conte Center for the Neuroscience of Mental Disorders > Washington University School of Medicine > Department of Psychiatry, Box 8134 > 660 South Euclid Ave. Tel: 314-747-6173 > St. Louis, MO 63110 Email: [email protected] > > > > > On 10/24/14 2:26 PM, "Glasser, Matthew" <[email protected]> wrote: > > >What kind of analysis do you have in mind? There is a new ³native² matlab > >CIFTI reader/writer written by Robert Oostenveld that you could give a > >try: https://github.com/oostenveld/cifti, which I think reads in the > >header info. > > > >If you have issues, you¹ll need to ask him about them, as I¹ve not yet > >extensively used his software. > > > >Peace, > > > >Matt. > > > >On 10/24/14, 3:53 AM, "Estrid Jakobsen" <[email protected]> wrote: > > > >>Dear all, > >> > >>My question concerns the group-average task data from 100 unrelated > >>subjects, contained in > >>HCP_Q1-Q6_U100_tfMRI_ALLTASKS_level3_zstat1_hp200_s2.dscalar.nii > >> > >>I understand that this is a cifti file containing data from all tasks. > >>I'm able to visualize this data in workbench, but I would like to > >>extract/export data from particular tasks (specifically motor tasks) for > >>use in other software. > >> > >>Is there a wb_command that can be used to extract specific task maps, or > >>an option in the workbench GUI to export the individual maps? > >> > >>Alternatively, how can I find out which component of the cifti file > >>corresponds to the task I'm interested in? I'm able to open the cifti > >>file in matlab using ciftiopen.m, which returns a 91282x86 matrix, where > >>the second dimension presumably corresponds to 86 task maps. Is there a > >>command to read the header information of the cifti file to find the > >>index of specific tasks? > >> > >>Many thanks! > >> > >>Estrid > >> > >>**************** > >>Estrid Jakobsen > >>PhD Student, IMPRS NeuroCom > >>Department of Neurophysics > >>Max Planck Research Group Neuroanatomy and Connectivity > >>Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig > >>+49 341 9940-2423 > >> > >>_______________________________________________ > >>HCP-Users mailing list > >>[email protected] > >>http://lists.humanconnectome.org/mailman/listinfo/hcp-users > > > > > >________________________________ > >The materials in this message are private and may contain Protected > >Healthcare Information or other information of a sensitive nature. If you > >are not the intended recipient, be advised that any unauthorized use, > >disclosure, copying or the taking of any action in reliance on the > >contents of this information is strictly prohibited. If you have received > >this email in error, please immediately notify the sender via telephone > >or return mail. > > > >_______________________________________________ > >HCP-Users mailing list > >[email protected] > >http://lists.humanconnectome.org/mailman/listinfo/hcp-users > > > ________________________________ > The materials in this message are private and may contain Protected > Healthcare Information or other information of a sensitive nature. If you > are not the intended recipient, be advised that any unauthorized use, > disclosure, copying or the taking of any action in reliance on the contents > of this information is strictly prohibited. If you have received this email > in error, please immediately notify the sender via telephone or return mail. > > _______________________________________________ > HCP-Users mailing list > [email protected] > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
