Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling .gii files #24

Open
IndrajeetPatil opened this issue Aug 23, 2016 · 7 comments
Open

Handling .gii files #24

IndrajeetPatil opened this issue Aug 23, 2016 · 7 comments

Comments

@IndrajeetPatil
Copy link

Hi,

I am currently working with cortical thickness data and want to compare two groups with highly unequal sample sizes. To protect against false positives, I wanted to carry put non-parametric tests using SnPM13. But I realized that it currently doesn't accept GIfTI files.

Will future release be able to handle these images? Is this something that you are thinking of including?

Thanks,
Indrajeet

@nicholst
Copy link
Collaborator

SnPM makes use of the file I/O tools of SPM. If SPM can support GIFTI, I don't see why SnPM couldn't. Have you tried your analysis in SPM? Does it work OK?

@IndrajeetPatil
Copy link
Author

Yes, that's why it's surprising!

Analysis worked with SPM, but when I selected the .gii files to enter into SnPM, it doesn't accept any of the files:
capture

@nicholst
Copy link
Collaborator

Ah... yes, we do ask SPM just for 'image' file types, and not {'image','mesh'} file types (which would include GIFTI). But, from just a quick look at the corresponding SPM code (spm_spm.m) there are many many changes that would be required to facilitate reading and writing surfaces.

In the mean time, may I suggest you look at PALM? http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/PALM - Permutation Analysis of Linear Models, a tool developed by a student of mine, @andersonwinkler. It is based entirely in Matlab/Octave, and can read meshes. It will take a little getting used to (it is entirely command line driven) but it is very powerful and should be able to do what you need to do.

@IndrajeetPatil
Copy link
Author

Ah! Okay, thanks a lot for the reference!
I'll download it and figure out how to carry out the needed analysis.

@IndrajeetPatil
Copy link
Author

Hi,
Couple of quick follow-up questions:

  1. Is there any possibility that the next release of SnPM will be able to handle the .gii images? Having exclusively worked with SPM thus far, I found it difficult to get around PALM and finally gave up. It'll be great if I can do this with SPM.
  2. Also, is there a planned extension of SnPM to include multiple regression models?

Thanks!

@nicholst
Copy link
Collaborator

Hi,

I'm afraid no update on .gii reading... still not likely soon.

As for multiple regression, look at "Simple Regression", where you can then add nuisance regressors, giving you the same functionality, right?

@IndrajeetPatil
Copy link
Author

IndrajeetPatil commented Mar 27, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants