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
>
>

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to