<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=9638" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC ciftiTools: Tools for Reading, Writing, Viewing and Manipulating CIFTI Files Forum: open-discussion</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=9638</link>
  <description>General Discussion</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Wed, 08 Apr 2026 1:36:46 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>RE: Extract Adjacency Matrix from Human Connectom Project MSMAll.dscalar.nii-file</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=14053&amp;forum_id=9638</link>
   <description>&amp;lt;p&amp;gt;Hi Bas,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Thanks and sorry for the terribly delayed reply; I didn't know we had a Forums here!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;With CIFTI data, spatial information is contained in a GIFTI file (*.surf.gii) which is separate from the CIFTI file having the measurements (*.dtseries.nii, *.dscalar.nii, *.dlabel.nii).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;For HCP surface data at 32k, if you just want the vertex adjacency matrix, since all subjects are registered to a mesh with the same topology, you just need one file--and we've included it in ciftiTools: see `load_surf`. It will give a surface with the same topology as the ones used with the HCP. The `faces` component of the surface object returned by `load_surf` will give the three vertices in each face. To make an adjacency matrix: if a vertex shares a face with another vertex, it's adjacent, so collect for each vertex set adjacency to 1 for all other vertices it shares faces with, 0 otherwise. I might look into adding a function for this in our package.&amp;lt;/p&amp;gt;</description>
   <author>Damon Pham</author>
   <pubDate>Thu, 27 Jul 2023 18:36:55 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=14053&amp;forum_id=9638</guid>
  </item>
  <item>
   <title>RE: Error in header_cifti(cifti_fname) :    Workbench command </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=12922&amp;forum_id=9638</link>
   <description>&amp;lt;p&amp;gt;Hi elena,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Sorry for the terribly delayed reply; I didn't realize we had a Forums!&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;There's issues with reading CIFTI files stored on the cloud, sometimes. So if the package has been downloaded onto the cloud, reading files included in the package may fail.&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;We're looking into a workaround that involves saving a copy of the desired to the disk as a temporary file, reading that in, then deleting the temporary file. Meanwhile, you may have to download the package to the disk, or implement this workaround yourself as necessary.&amp;lt;/p&amp;gt;</description>
   <author>Damon Pham</author>
   <pubDate>Thu, 27 Jul 2023 18:27:50 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=12922&amp;forum_id=9638</guid>
  </item>
  <item>
   <title>Extract Adjacency Matrix from Human Connectom Project MSMAll.dscalar.nii-file</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=14053&amp;forum_id=9638</link>
   <description>Dear All,&lt;br /&gt;
&lt;br /&gt;
For my master's thesis I am using R to fit a model to the working memory task fMRI dataset of the Human Connectome Project. To do so, I will need an adjacency matrix that marks the neighbors of each voxel. My supervisors and I have chosen to use the MSMAll.dscalar.nii files from the dataset. How can I extract this adjacency matrix from the file using ciftiTools? Or perhaps another package?&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
&lt;br /&gt;
Bas</description>
   <author>basmats</author>
   <pubDate>Tue, 17 Jan 2023 15:37:59 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=14053&amp;forum_id=9638</guid>
  </item>
  <item>
   <title>Error in header_cifti(cifti_fname) :    Workbench command </title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=12922&amp;forum_id=9638</link>
   <description>Hello&lt;br /&gt;
i m new with ciftiTool, i will really appreciate any help&lt;br /&gt;
&lt;br /&gt;
 i m trying to follow the tutorial but when i run the following line&lt;br /&gt;
&lt;br /&gt;
xii &amp;lt;- read_cifti(&lt;br /&gt;
cifti_fname, brainstructures=&amp;quot;all&amp;quot;,&lt;br /&gt;
surfL_fname=surfL_fname, surfR_fname=surfR_fname,&lt;br /&gt;
resamp_res=4000&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
i get this error&lt;br /&gt;
&lt;br /&gt;
Error in header_cifti(cifti_fname) :&lt;br /&gt;
Workbench command 'C:/PROGRA~1/workbench-windows64-v1.5.0/workbench/bin_windows64/wb_command.exe -nifti-information C:\Users\User\Dropbox\My\ PC\ \(Elena-DELL\)\Documents\R\win-library\4.0\ciftiTools\extdata/Conte69.MyelinAndCorrThickness.32k_fs_LR.dtseries.nii -print-header' failed.&lt;br /&gt;
Inoltre: Warning message:&lt;br /&gt;
In system(cmd, intern = intern, ignore.stdout = ignore.stdout, ignore.stderr = ignore.stderr) :&lt;br /&gt;
running command 'C:/PROGRA~1/workbench-windows64-v1.5.0/workbench/bin_windows64/wb_command.exe -nifti-information C:\Users\User\Dropbox\My\ PC\ \(Elena-DELL\)\Documents\R\win-library\4.0\ciftiTools\extdata/Conte69.MyelinAndCorrThickness.32k_fs_LR.dtseries.nii -print-header' had status 65535&lt;br /&gt;
&lt;br /&gt;
thank you for every help&lt;br /&gt;
elena</description>
   <author>Elena Aggius Vella</author>
   <pubDate>Fri, 05 Nov 2021 17:17:02 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=12922&amp;forum_id=9638</guid>
  </item>
  <item>
   <title>Welcome to Open-Discussion</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=12530&amp;forum_id=9638</link>
   <description>Welcome to Open-Discussion</description>
   <author>Damon Pham</author>
   <pubDate>Wed, 23 Jun 2021 20:40:20 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=12530&amp;forum_id=9638</guid>
  </item>
 </channel>
</rss>
