I am trying to use the NetPlotBrain library to plot the Dorsal Attention Network in the Glasser Atlas. However, the MNI coordinates seem to be plotting incorrectly on the library’s tools. Here’s what the plot is using, and I am using the Glasser360 atlas (glasser360MNI.nii.gz, from GitHub) in this link: https://github.com/brainspaces/glasser360
Same issue, i am trying to plot using brainconn r package. I have tried to extract the centroid coordinates with afni, fsl and nibabel but all bring similar results. Nibabel from python seems more less right except that node index don’t seem to correspond to the rois as defined. Have you find a solution yet?
For what it is worth, I downloaded the NIFTI file from that GitHub repo, and just by trying to display the header information, it seems like there was some badness with it. This is the result of just running nifti_tool on it to display the header:
3dcopy glasser360MNI.nii.gz tmp2.nii.gz
++ 3dcopy: AFNI version=AFNI_24.2.01 (Nov 7 2024) [64-bit]
** nifti_header_version: bad sizeof_hdr = 168430090
** nifti_image_read: bad nifti im header version -1
** failed to open input 'glasser360MNI.nii.gz' on non-AFNI write
Try including the view of the input dataset glasser360MNI.nii.gz
or use its fullname. That might take care of the error.