Dear FS experts,
I try to look at correlation between thickness and performance. I run mri_glmfit (using performance as covariate) and mri_glmfit-sim. After this I get some significant clusters. I would like to ask if I could get a correlation coefficient for these clusters, or/and a regression plot?
Thank you, Tanja.
Hi Tanja, we don't have a turn-key way to do this, but you can do it in matlab using this function: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/fast_glm_pcc.m, something like:
cd glmdir beta = MRIread('beta.mgh'); rvar = MRIread('rvar.mgh'); X = load('Xg.dat'); C = load('contrast/C.dat'); pcc = fast_glm_pcc(fast_vol2ma(beta),X,C,fast_vol2mat(rvar)); mri = beta; mri.vol = fast_mat2vol(pcc,mri.volsize); MRIwrite(mri,'contrast/pcc.mgh');
where glmdir is the output directory for mri_glmfit
doug
On 05/02/2012 09:59 AM, Tetiana Dadakova wrote:
Dear FS experts,
I try to look at correlation between thickness and performance. I run mri_glmfit (using performance as covariate) and mri_glmfit-sim. After this I get some significant clusters. I would like to ask if I could get a correlation coefficient for these clusters, or/and a regression plot?
Thank you, Tanja. _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu