Dear Freesurfers,
I’m struggling with finding a way of getting a table of the cluster maxima of FEAT functional data registered to (reg-feat2anat) and resampled to (feat2surf) reconstructed surfaces. I want to extract cluster maxima for single subjects but preferentially NOT in fsaverage group space.
The command mri_surfcluster seems to be quite promising for this purpose. Specifically the summary file with the VtxMax
But, seemingly I use the wrong input file (-in) for the FEAT functional data (Error wrong type for mghRead). 1.) Is it at all possible to read resampled Feat data with mri_surfcluster? 2.) is it a prerequisite to run mri_glmfit as suggested in https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/FslGroupFeat (I do not want to perform analysis in group space)
I'm very thankful for advice
Sincerely yours,
Chris
$ mri_surfcluster --subject PM_02173_inflation --in PM_02173_inflation/ML_us.feat/stats/zstat1.mgh --hemi lh --surf smoothwm --thmin 2 --thmax inf --sign pos --minarea 15 --annot aparc
thsign = pos, id = 1 version $Id: mri_surfcluster.c,v 1.51.2.3 2012/05/31 22:10:05 greve Exp $ hemi = lh srcid = PM_02173_inflation/ML_us.feat/stats/zstat1.mgh srcsubjid = PM_02173_inflation srcsurf = smoothwm srcframe = 0 thsign = pos thmin = 2 thmax = inf fdr = -1 minarea = 15 xfmfile = talairach.xfm nth = -1 subjectsdir = /home/christopher/Desktop/freesurfer/subjects FixMNI = 1 ------------- XFM matrix (RAS2RAS) --------------- /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/mri/transforms/talairach.xfm 1.127 -0.010 -0.020 0.954; 0.005 0.993 0.048 -16.639; 0.017 -0.052 1.162 -15.969; 0.000 0.000 0.000 1.000; ---------------------------------------------------- Reading source surface /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/surf/lh.smoothwm Done reading source surface Reading annotation /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/label/lh.aparc.annot reading colortable from annotation file... colortable with 36 entries read (originally /autofs/space/terrier_001/users/nicks/freesurfer/average/colortable_desikan_killiany.txt) Computing metric properties Loading source values mghRead(PM_02173_inflation/ML_us.feat/stats/zstat1.mgh, -1): could not open file ERROR: could not read PM_02173_inflation/ML_us.feat/stats/zstat1.mgh as type
mri_surfcluster will probably do what you need though there are some caveats: - You will not be able to get the results corrected for multiple comparisons - If you are looking at the z-score, then this will not be as powerful as it could be because you applied no smoothing (unless you applied volume smoothing, then you have the disadvantages of volume smoothing)
I can't help you out with your mri_surfclsuter command line unless you send it along with the terminal output
On 8/12/14 8:59 AM, Milde, Christopher wrote:
Dear Freesurfers,
I'm struggling with finding a way of getting a table of the cluster maxima of FEAT functional data registered to (reg-feat2anat) and resampled to (feat2surf) reconstructed surfaces. I want to extract cluster maxima for single subjects but preferentially NOT in fsaverage group space.
The command mri_surfcluster seems to be quite promising for this purpose. Specifically the summary file with the VtxMax
*But, seemingly I use the wrong input file (-in) for the FEAT functional data (Error wrong type for mghRead).
1.) Is it at all possible to read resampled Feat data with mri_surfcluster?
2.) is it a prerequisite to run mri_glmfit as suggested in https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/FslGroupFeat (I do not want to perform analysis in group space)
I'm very thankful for advice
Sincerely yours,
Chris
$ mri_surfcluster --subject PM_02173_inflation --in PM_02173_inflation/ML_us.feat/stats/zstat1.mgh --hemi lh --surf smoothwm --thmin 2 --thmax inf --sign pos --minarea 15 --annot aparc
thsign = pos, id = 1 version $Id: mri_surfcluster.c,v 1.51.2.3 2012/05/31 22:10:05 greve Exp $ hemi = lh srcid = PM_02173_inflation/ML_us.feat/stats/zstat1.mgh srcsubjid = PM_02173_inflation srcsurf = smoothwm srcframe = 0 thsign = pos thmin = 2 thmax = inf fdr = -1 minarea = 15 xfmfile = talairach.xfm nth = -1 subjectsdir = /home/christopher/Desktop/freesurfer/subjects FixMNI = 1 ------------- XFM matrix (RAS2RAS) --------------- /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/mri/transforms/talairach.xfm 1.127 -0.010 -0.020 0.954; 0.005 0.993 0.048 -16.639; 0.017 -0.052 1.162 -15.969; 0.000 0.000 0.000 1.000;
Reading source surface /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/surf/lh.smoothwm Done reading source surface Reading annotation /home/christopher/Desktop/freesurfer/subjects/PM_02173_inflation/label/lh.aparc.annot reading colortable from annotation file... colortable with 36 entries read (originally /autofs/space/terrier_001/users/nicks/freesurfer/average/colortable_desikan_killiany.txt) Computing metric properties Loading source values mghRead(PM_02173_inflation/ML_us.feat/stats/zstat1.mgh, -1): could not open file ERROR: could not read PM_02173_inflation/ML_us.feat/stats/zstat1.mgh as type
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Dear Doug,
thanks for your helpful comments according to the reading out fMRI cluster peak vertices!
Actually, I'm able now to read out cluster peak vertices (see bottom). I applied the mri_surfcluster command for resampled and surface smoothed Feat stats on smoothwm surface with projfrac 0.5 (mri_surf2surf -fwhm).
But I'm not sure how to apply Multiple Comparison Correction because I only found this option for group statistics (mri_glmfit-sim). For this purpose, I have to generate a GLM within Freesurfer. I use FEAT preprocessed but unsmoothed data and coregistered/resampled it to the surfaces. My goal is to read out peak vertices on session/single-subject level, preferentially on the smoothwm with -projfrac 0.5. Is it possible to use the mkanalysis-sess/mkcontrast-sess/selxvavg3-sess commands (seemingly it’s just for FSFAST preprocessed data) in combination with a Multiple Comparisons Correction at session level? OR Shall I run the Preprocessing in FSFAST too? Hopefully, there is a solution for this delicate problem
Sincerely yours,
Chris
mri_surfcluster --subject PM_00880_inflation --surf smoothwm --hemi lh --in PM_00880_inflation/TR.feat/stats/smooth_10.mgz --thmin 2 --thmax inf --sign pos --minarea 30 --annot aparc --sum PM_00880_inflation/TR.feat/stats/TR_summary2 thsign = pos, id = 1 version $Id: mri_surfcluster.c,v 1.51.2.3 2012/05/31 22:10:05 greve Exp $ hemi = lh srcid = PM_00880_inflation/TR.feat/stats/smooth_10.mgz srcsubjid = PM_00880_inflation srcsurf = smoothwm srcframe = 0 thsign = pos thmin = 2 thmax = inf fdr = -1 minarea = 30 xfmfile = talairach.xfm nth = -1 sumfile = PM_00880_inflation/TR.feat/stats/TR_summary2 subjectsdir = /home/christopher/Desktop/freesurfer/subjects FixMNI = 1 ------------- XFM matrix (RAS2RAS) --------------- /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/mri/transforms/talairach.xfm 1.052 0.044 -0.055 0.749; -0.027 1.026 0.319 -8.121; 0.030 -0.345 1.096 -13.593; 0.000 0.000 0.000 1.000; ---------------------------------------------------- Reading source surface /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/surf/lh.smoothwm Done reading source surface Reading annotation /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/label/lh.aparc.annot reading colortable from annotation file... colortable with 36 entries read (originally /autofs/space/terrier_001/users/nicks/freesurfer/average/colortable_desikan_killiany.txt) Computing metric properties Loading source values number of voxels in search space = 133455 Done loading source values (nvtxs = 133455) overall max = 5.55723 at vertex 63001 overall min = -4.84855 at vertex 19315 surface nvertices 133455 surface area 79513.531250 surface area 79513.859375 Adjusting threshold for 1-tailed test. If the input is not a -log10(p) volume, re-run with --no-adjust. Searching for Clusters ... thmin=2.000000 (1.698970), thmax=inf (inf), thsignid=1, minarea=30.000000 Found 9 clusters Max cluster size 1315.766113 INFO: fixing MNI talairach coordinates
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
It is possible but not easy. You'll have to start almost from scratch. Motion correct your time series. Then run mri_vol2surf to sample the time series on the surface (use nifti output). Smooth on the surface. Run FEAT using this as the input. Turn off spatial smoothing and prewhitening and masking (and anything else that might assume a volume structure). Tell it to save the residual error (can't remember how to do this). When you get that far, write back.
doug
On 08/14/2014 09:31 AM, Milde, Christopher wrote:
Dear Doug,
thanks for your helpful comments according to the reading out fMRI cluster peak vertices!
Actually, I'm able now to read out cluster peak vertices (see bottom). I applied the mri_surfcluster command for resampled and surface smoothed Feat stats on smoothwm surface with projfrac 0.5 (mri_surf2surf -fwhm).
But I'm not sure how to apply Multiple Comparison Correction because I only found this option for group statistics (mri_glmfit-sim). For this purpose, I have to generate a GLM within Freesurfer.
I use *FEAT preprocessed but unsmoothed data* and coregistered/resampled it to the surfaces. My goal is to read out peak vertices *on session/single-subject level*, preferentially on the smoothwm with -projfrac 0.5.
Is it possible to use the mkanalysis-sess/mkcontrast-sess/selxvavg3-sess commands (seemingly it’s just for FSFAST preprocessed data) in combination with a Multiple Comparisons Correction at session level? OR Shall I run the Preprocessing in FSFAST too?
Hopefully, there is a solution for this delicate problem
Sincerelyyours,
Chris
mri_surfcluster --subject PM_00880_inflation --surf smoothwm --hemi lh --in PM_00880_inflation/TR.feat/stats/smooth_10.mgz --thmin 2 --thmax inf --sign pos --minarea 30 --annot aparc --sum PM_00880_inflation/TR.feat/stats/TR_summary2 thsign = pos, id = 1 version $Id: mri_surfcluster.c,v 1.51.2.3 2012/05/31 22:10:05 greve Exp $ hemi = lh srcid = PM_00880_inflation/TR.feat/stats/smooth_10.mgz srcsubjid = PM_00880_inflation srcsurf = smoothwm srcframe = 0 thsign = pos thmin = 2 thmax = inf fdr = -1 minarea = 30 xfmfile = talairach.xfm nth = -1 sumfile = PM_00880_inflation/TR.feat/stats/TR_summary2 subjectsdir = /home/christopher/Desktop/freesurfer/subjects FixMNI = 1 ------------- XFM matrix (RAS2RAS) --------------- /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/mri/transforms/talairach.xfm 1.052 0.044 -0.055 0.749; -0.027 1.026 0.319 -8.121; 0.030 -0.345 1.096 -13.593; 0.000 0.000 0.000 1.000;
Reading source surface /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/surf/lh.smoothwm Done reading source surface Reading annotation /home/christopher/Desktop/freesurfer/subjects/PM_00880_inflation/label/lh.aparc.annot reading colortable from annotation file... colortable with 36 entries read (originally /autofs/space/terrier_001/users/nicks/freesurfer/average/colortable_desikan_killiany.txt) Computing metric properties Loading source values number of voxels in search space = 133455 Done loading source values (nvtxs = 133455) overall max = 5.55723 at vertex 63001 overall min = -4.84855 at vertex 19315 surface nvertices 133455 surface area 79513.531250 surface area 79513.859375 Adjusting threshold for 1-tailed test. If the input is not a -log10(p) volume, re-run with --no-adjust. Searching for Clusters ... thmin=2.000000 (1.698970), thmax=inf (inf), thsignid=1, minarea=30.000000 Found 9 clusters Max cluster size 1315.766113 INFO: fixing MNI talairach coordinates
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu