You could try a combination of
V=spm_vol(my_tmap_image)
[XYZ,Data]=spm_read_vols(V)
And then use the built in matlab function 'max' to find the maximum
T-values in Data, and tag the coordinates in XYZ accordingly.
That's how I usually do similar stuff.
Have a look at the help text provided with each of these functions for
further syntax and use.
Good luck,
Bas
--------------------------------------------------
Dr. S.F.W. Neggers
Division of Brain Research
Rudolf Magnus Institute for Neuroscience
Utrecht University Medical Center
Visiting : Heidelberglaan 100, 3584 CX Utrecht
Room B.01.1.03
Mail : Huispost B.01.206, P.O. Box 85500
3508 GA Utrecht, the Netherlands
Tel : +31 (0)88 7559609
Fax : +31 (0)88 7555443
E-mail : [log in to unmask]
--------------------------------------------------
-----Oorspronkelijk bericht-----
Van: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
Namens Elisabeth Jonckers
Verzonden: dinsdag 31 maart 2009 17:11
Aan: [log in to unmask]
Onderwerp: [SPM] coordinates for significant voxels
Dear SPM users,
I have done a multiple regression in spm.
I would like to know if it's possible to know the coordinates of all the
significant voxels, so that I can see which are for example the 5 most
significant voxels. I know you can see the p-values for the whole brain
or for a certain volume but then you get only the maximum voxels for
each cluster, I think. I want to know the most significant voxels within
one cluster. Is there a possibility for this?
Thank you very much for helping me.
Elisabeth Jonckers
|