Re: [Freesurfer] perform group analysis on user defined maps

2017-05-08 Thread Douglas N Greve
I don't think it discards them, probably just sets them to 0. Do you have the proper number of frames in the mri_concat output? On 05/06/2017 04:08 AM, Ladan Shahshahani wrote: > Hi Doug, > I asked you about how to perform group analysis on maps created using > an index I calculated. You sugges

Re: [Freesurfer] perform group analysis on user defined maps

2017-05-06 Thread Ladan Shahshahani
Hi Doug, I asked you about how to perform group analysis on maps created using an index I calculated. You suggested using mri_concat to concatenate the maps and then perform the analysis using mri_glmfit. I then asked about NaN values in the maps and how freesurfer treat these values. You said "It

Re: [Freesurfer] perform group analysis on user defined maps

2017-05-05 Thread Douglas Greve
Hi Ladan, please include previous correspondence so that we know what this is referring to doug On 5/5/17 1:58 AM, Ladan Shahshahani wrote: ​ It didn't crash. I got the following line in the terminal window: Invalid argument WARNING: 319 NaNs found in subjid.map.mgh When the NaNs were commo

Re: [Freesurfer] perform group analysis on user defined maps

2017-05-04 Thread Ladan Shahshahani
​ It didn't crash. I got the following line in the terminal window: Invalid argument WARNING: 319 NaNs found in subjid.map.mgh When the NaNs were common in all the subjects, mri_glmfit did not end successfully. After I omitted the common NaN values, there were still a few subjects with NaN values

Re: [Freesurfer] perform group analysis on user defined maps

2017-05-02 Thread Douglas Greve
It will probably crash. I does nothing to find NaNs and handle them in an appropraite way On 5/2/17 7:37 AM, Ladan Shahshahani wrote: Hi Douglas, Thanks for the reply. One more question, Qdec excludes subjects with NaN values, right? How will mri_glmfit treat subjects with NaNs? For each sub

Re: [Freesurfer] perform group analysis on user defined maps

2017-05-02 Thread Ladan Shahshahani
Hi Douglas, Thanks for the reply. One more question, Qdec excludes subjects with NaN values, right? How will mri_glmfit treat subjects with NaNs? For each subject, there are some vertices with NaN values (These vertices are not the same in all subjects). Bests, Ladan _

Re: [Freesurfer] perform group analysis on user defined maps

2017-04-29 Thread Douglas Greve
If your index is in fsaverage space, then you can just concatenate the data together with mri_concat subj1/data-in-fsaverage.nii.gz subj2/data-in-fsaverage.nii.gz ... --o stack.nii.gz then just input stack.nii.gz into mri_glmfit, etc On 4/29/17 9:36 AM, Ladan Shahshahani wrote: Dear expert

[Freesurfer] perform group analysis on user defined maps

2017-04-29 Thread Ladan Shahshahani
Dear experts, I have preprocessed my functional data using FSFAST. I have calculated an index for each of my ROIs' vertices in matlab, and then created a map for each hemisphere and subcortical regions using MRIwrite. I want to perform group analysis on these maps. I also want to apply cluster-wis