Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Saving a .tt.gz file in MATLAB

15 views
Skip to first unread message

Elizabeth Castro

unread,
Nov 20, 2024, 1:36:59 PM11/20/24
to DSI Studio
Hi Frank,

I have performed differential tractography and would like to identify in my participants the most common tracts appearing. I would like to use DSI studio's recognize and cluster function to assist me in identifying these tracts, but after going through my workflow and I cannot save a .tt.gz file from MATLAB.

This is my workflow:
-perform differential tractography and save tracts in ICBM template space
-load template brain and all tracts
-convert participant tracts to ROIs and save ROIs as a nifti files
-load ROIs for participants in MATLAB and average them to get a 3D matrix
-save this matrix as a .tt.gz file
-load .tt.gz file in DSI studio and use recognize and cluster feature to identify most common tracts

I cannot figure out in MATLAB how to save the .tt.gz file. So far I have tried to save my output from the averaging as a .mat file, change it to a .tt.gz file, and load in DSI Studio but it did not load anything.

I then did the process in reverse, where I took a .tt.gz file, changed it to .mat to see what it looked like in MATLAB. The picture I attached shows what I get in MATLAB. I am wondering what data makes up the track matrix since collapsing across the dimensions does not add up to the information in the track matrix. 

Please let me know how to proceed with this.

Best,
Elizabeth Castro

matlab workspace.PNG

Frank Yeh

unread,
Nov 20, 2024, 1:38:49 PM11/20/24
to ecast...@gmail.com, DSI Studio
Did you use gzip to convert .tt to .tt.gz?

--
You received this message because you are subscribed to the Google Groups "DSI Studio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dsi-studio/3a62462b-ed2c-41c5-b456-b1560be2527dn%40googlegroups.com.

Elizabeth Castro

unread,
Nov 20, 2024, 1:40:54 PM11/20/24
to DSI Studio
Hi Frank,

Yes, I did use that, gzip and gunzip.

Frank Yeh

unread,
Nov 20, 2024, 2:33:52 PM11/20/24
to ecast...@gmail.com, DSI Studio
The workflow won't work because tt.gz store trajectories, not ROI.

Elizabeth Castro

unread,
Nov 20, 2024, 2:59:32 PM11/20/24
to DSI Studio
Okay, so there is no way to save a .tt.gz file from MATLAB based on my 3D matrix? Is there another way you would suggest going about this?

Frank Yeh

unread,
Nov 20, 2024, 3:32:22 PM11/20/24
to ecast...@gmail.com, DSI Studio
Once you convert tracts to ROI, a lot of information are gone.
The last step won't work out.

--
You received this message because you are subscribed to the Google Groups "DSI Studio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages