You can look at the header (which is XML) to see, but the typical order is left surface, right surface, and then subcortical. Also, it is not 32492 vertices for the surfaces because the medial wall is excluded. If for some reason you need to process the different components separately, you can use wb_command -cifti-separate as well.
Peace, Matt. On 9/10/14, 1:59 AM, "K. Wagstyl" <[email protected]> wrote: >Thanks Matt - the matlab scripts are working great. >Can I check the structure for grayordinate data? > >Is it the first 32492 vertices are left hemisphere surface, >then left subcortical, >then the next 32492 are right hemisphere surface, >then right subcortical? > >Cheers, >Konrad > >On 2014-09-09 20:48, Glasser, Matthew wrote: >> I¹d recommend option ii. >> >> You can use the surfaces and label data in the >> ${StudyFolder}/${SubjectID}/MNINonLinear/fsaverage_LR32k folder >> together >> with the dense timeseries data. To load the data into matlab, you can >> use >> these attached matlab functions together with wb_command and the matlab >> GIFTI toolbox: >> >> cii = ciftiopen(Œpath/to/file¹,¹path/to/wb_command¹); >> >> CIFTIdata = cii.cdata; >> >> >> Some lines of analysis code >> >> newcii = cii; >> >> newcii.cdata = AnalysisOutput; >> >> ciftisave(newcii,¹path/to/newfile¹,¹path/to/wb_command¹); >> >> Or if the data matrix is a different size from what you started with >> >> ciftisavereset(newcii,¹path/to/newfile¹,¹path/to/wb_command¹); >> >> And then you can view your result in Connectome Workbench¹s wb_view on >> the >> 32k standard surfaces. >> >> Peace, >> >> Matt. >> >> On 9/9/14, 10:22 AM, "K. Wagstyl" <[email protected]> wrote: >> >>> Hi, >>> >>> I'm trying to carry out some analysis on the preprocessed >>> resting-state >>> fMRI but running into some problems with the *.dtseries.nii files. >>> The first part of the analysis was carried out on structural data in >>> freesurfer and matlab (using labels etc) >>> Is there any way of converting the resting-state data into a format >>> for >>> similar analysis? >>> >>> In other words, either >>> i) mapping the time series to individuals' freesurfer-space vertices >>> or >>> ii) importing the grayordinate data into matlab? >>> >>> Thanks, >>> Konrad >>> _______________________________________________ >>> 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. ________________________________ 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
