Re: [Freesurfer] correlation analysis two groups (paired analysis)

2023-01-13 Thread Agurne Sampedro Calvete
External Email - Use Caution Thank you very much for your rapid response. Best regards, *-- --* *Agurne Sampedro Calvete, PhD* Departamento de Psicología / Psikologia Saila / Department of Psychology Facultad de Ciencias de la Salud / Osasun Zientzien Fakultatea / Faculty

Re: [Freesurfer] correlation analysis two groups (paired analysis)

2023-01-12 Thread Douglas N. Greve
If you are looking for the difference in the correlation between the groups then you have to use DODS and 0 0 1 -1. The way to understand it is that you have four regression coefficients and each means something. The way you have it set up in the fsgd file is that they are 1. group 1 intercept

[Freesurfer] correlation analysis two groups (paired analysis)

2023-01-12 Thread Agurne Sampedro Calvete
External Email - Use Caution Dear FreeSurfer experts, I have two groups and two time points and I would like to do a correlation analysis between a variable (cognition) and the change score in cortical thickness between the two time points (time2 minus time1). I would like to see

Re: [Freesurfer] correlation analysis

2020-02-20 Thread Douglas N. Greve
Yes, though I might demean all the covariates. For thickness, you can run mri_glmfit --surf fsaverage lh --y lh.thickness_20.fsavg.mgh --osgm --eres-save --o thickness-demean then use thickness-demean/eres.mgh as the PVR On 2/20/2020 9:13 AM, Raffaele Dubbioso wrote: External Email -

[Freesurfer] correlation analysis

2020-02-20 Thread Raffaele Dubbioso
External Email - Use Caution Dear FS team, in my analysis I'd like to correlate two variables such as cortical myelination and neurophysiological metrics, regressing-out thickness and age of the subjects. I have only one group. My FSGD file should be: GroupDescriptorFile 1 Title

Re: [Freesurfer] correlation analysis

2019-04-17 Thread Greve, Douglas N.,Ph.D.
In this case, there is only one class and two continuous variables, so there will be only 3 regressors, so your contrast matrix should only have 3 items. try 0 0 1 On 4/17/19 5:17 PM, TMS lab wrote: > > External Email - Use Caution > > There you go. > The contrast.mtx  gives me the error

Re: [Freesurfer] correlation analysis

2019-04-17 Thread TMS lab
External Email - Use Caution There you go. The contrast.mtx gives me the error ERROR: dimension mismatch between X and contrast contrast.mtxX has 3 cols, C has 4 cols Il giorno mer 17 apr 2019 alle ore 22:12 TMS lab ha scritto: > > mri_glmfit --y lh.t1t2ratio_12CMT_fmed_3sm

Re: [Freesurfer] correlation analysis

2019-04-17 Thread Greve, Douglas N.,Ph.D.
can you send your fsgd file and your contrast.mtx file? On 4/17/19 4:12 PM, TMS lab wrote: > > External Email - Use Caution > > > mri_glmfit --y lh.t1t2ratio_12CMT_fmed_3sm_decurv.fsavg.mgh --fsgd > age_dexterity.fsgd --surf fsaverage lh --C contrast.mtx --o > lh_NHPT_T1T2_12CMT_allbrain

[Freesurfer] correlation analysis

2019-04-17 Thread TMS lab
External Email - Use Caution mri_glmfit --y lh.t1t2ratio_12CMT_fmed_3sm_decurv.fsavg.mgh --fsgd age_dexterity.fsgd --surf fsaverage lh --C contrast.mtx --o lh_NHPT_T1T2_12CMT_allbrain Il giorno gio 11 apr 2019 alle ore 21:58 Greve, Douglas N.,Ph.D. < dgr...@mgh.harvard.edu> ha sc

Re: [Freesurfer] correlation analysis

2019-04-11 Thread Raffaele Dubbioso
External Email - Use Caution mri_glmfit --y lh.t1t2ratio_12CMT_fmed_3sm_decurv.fsavg.mgh --fsgd age_dexterity.fsgd --surf fsaverage lh --C contrast.mtx --o lh_NHPT_T1T2_12CMT_allbrain Il giorno gio 11 apr 2019 alle ore 21:58 Greve, Douglas N.,Ph.D. < dgr...@mgh.harvard.edu> ha sc

Re: [Freesurfer] correlation analysis

2019-04-11 Thread Greve, Douglas N.,Ph.D.
what is your command line? On 4/11/19 3:53 PM, TMS lab wrote: > > External Email - Use Caution > > Unfortunately I get such error message with the matrix 0 0 0 1 > ERROR: dimension mismatch between X and contrast contrast.mtx    X has > 3 cols, C has 4 cols > > Instead if I use 0 0 1, it

Re: [Freesurfer] correlation analysis

2019-04-11 Thread TMS lab
External Email - Use Caution Unfortunately I get such error message with the matrix 0 0 0 1 ERROR: dimension mismatch between X and contrast contrast.mtx X has 3 cols, C has 4 cols Instead if I use 0 0 1, it works Best, RAFAEL That should have failed because it only has 3 v

Re: [Freesurfer] correlation analysis

2019-04-11 Thread Greve, Douglas N.,Ph.D.
That should have failed because it only has 3 values (should have 4). I think it should be 0 0 0 1 On 4/11/19 3:20 AM, TMS lab wrote: > > External Email - Use Caution > > You are right. I want simply to correlate myelin and nhpt regressing > out age. > I did it with the following matrix

[Freesurfer] correlation analysis

2019-04-11 Thread TMS lab
External Email - Use Caution You are right. I want simply to correlate myelin and nhpt regressing out age. I did it with the following matrix: 0 0 1 And it seems to work. Is it ok this matrix? Thanks a lot Rafael Il giorno gio 11 apr 2019 alle 00:22 Greve, Douglas N.,Ph.D. < dgr

Re: [Freesurfer] correlation analysis

2019-04-10 Thread Greve, Douglas N.,Ph.D.
That will compute the average of the Age slope and the NHPT slope. Probably not what you want to do On 4/6/19 12:24 PM, TMS lab wrote: > > External Email - Use Caution > > Dear Freesurfer team, > > I'm running a correlation analysis where I'd like to corelate > myelination and a clinical

[Freesurfer] correlation analysis

2019-04-06 Thread TMS lab
External Email - Use Caution Dear Freesurfer team, I'm running a correlation analysis where I'd like to corelate myelination and a clinical parameter (NHPT) regressing out the effect of age. My contrast.mtx: 0 0 0.5 0.5 This is my FSGD FILE: GroupDescriptorFile 1 Title Myelin Cl

Re: [Freesurfer] correlation analysis

2018-05-15 Thread Douglas N. Greve
You have to use a per-vertex regressor (--pvr to mri_glmfit). Search through the mail archives to find instructions On 05/15/2018 03:53 PM, Raffaele Dubbioso wrote: > > > Dear Freesurfer team, > > I'm working on correlation between fMRI data and a clinical score. > Since such fMRI data correlat

[Freesurfer] correlation analysis

2018-05-15 Thread Raffaele Dubbioso
External Email - Use Caution Dear Freesurfer team, I'm working on correlation between fMRI data and a clinical score. Since such fMRI data correlate also with cortical thickness, I'd like to regress out this variable (cortical thickness). How can I write my fsgd file and command

[Freesurfer] correlation analysis

2013-06-17 Thread stdp82
Hi list, I have performed cortical thickness analysis and I have individuated a ROI. Now, I'd like to perform a correlation analysis by qdec (if possible) between cortical thickness in this ROI and neuropsychological test score. I'm reading some previous post such as http://www.mail-archive.com/f