We need to know what format your data is currently in to give a definitive answer, but I'm going to guess matlab, as we have provided code for it to load cifti files, which you appear to have done. The matlab code we provide also allows for saving data back out into cifti files, latest version and instructions are here:
https://wiki.humanconnectome.org/display/PublicData/HCP+Users+FAQ#HCPUsersFAQ-2.HowdoyougetCIFTIfilesintoMATLAB ? In this case, you may want option B, and specifically ciftisavereset.m. You will need to load a cifti file with the 91282 brainordinates, then replace its data with your analysis output, and call ciftisavereset() on it. Name the file ending in .dtseries.nii or .dscalar.nii, and it should write it in that format, and wb_view will load and display it, as long as you also have the correct surfaces loaded. You could also use option A, which has more direct support of cifti, which will let you access the mapping between matrix indices and vertex/voxel indices in matlab, but it may not be easier for just getting the data out of matlab and into wb_view. Tim On Sun, Jan 18, 2015 at 1:25 PM, Chao Liu <[email protected]> wrote: > Dear experts, > > I would like to plot some analysis results (not in the HCP pipeline) on > HCP resting state data. what I get is a N by 1 index vector IND whose > length is equal to the number of vertices and voxels in the data. E.g., for > subject 100307, there are 59412 vertices and 31870 voxels, so N=91282. And > each element of the index vector IND is a boolean number indicating whether > this vertex or voxel is activated. E.g. IND(5)=1 & IND(6)=1 means the fifth > and sixth element are activated. > > *How could I plot all the activated voxel in a 3D brain*? A step by step > demonstration with the wb_command, essential files or other codes is highly > appreciated! > > Many thanks! > Chao > > _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
