Re: [Freesurfer] correlation coefficient R

2017-04-12 Thread tom parker
Thank you so much Doug! It worked! I was just wondering which value I should report as the correlation coefficient of my analysis. This is the output I got: # ColHeaders Index SegId NVoxels Volume_mm3 StructName Mean StdDev Min Max Range 1 -4 2037320373.0 Seg-004-0.1596 0.04

Re: [Freesurfer] correlation coefficient R

2017-04-10 Thread Douglas N Greve
Try something like mri_segstats --i pcc.mgh --seg cluster.ocn.mgh --excludeid 0 --sum cluster.pcc.dat On 04/07/2017 08:35 PM, tom parker wrote: > Hi Doug, > > Thank you for your answer! > > It would be great if you could send me some instructions. > > Thanks for the help! > > Douglas N Greve >

Re: [Freesurfer] correlation coefficient R

2017-04-07 Thread tom parker
Hi Doug, Thank you for your answer! It would be great if you could send me some instructions. Thanks for the help! Douglas N Greve Thu, 06 Apr 2017 13:32:07 -0700

Re: [Freesurfer] correlation coefficient R

2017-04-06 Thread Douglas N Greve
I guess you could average it over space (eg, over a cluster). Let me know if you want instructions. Otherwise, I'm not sure what to say. On 04/04/2017 06:49 AM, tom parker wrote: > Hi Doug, > Thanks! I realize now I didn't explain myself properly. > I need one single R value for the correlation

Re: [Freesurfer] correlation coefficient R

2017-04-04 Thread tom parker
Hi Doug, Thanks! I realize now I didn't explain myself properly. I need one single R value for the correlation analysis I made, similarly to when I correlate two variables with Pearson's R in a statistical package. I have a referee asking me to put it on a table with the freesurfer results. Is t

Re: [Freesurfer] correlation coefficient R

2017-04-03 Thread Douglas Greve
Each vertex is a correlation value. On 4/3/17 8:09 PM, tom parker wrote: Thanks Doug! I have version 6 and got a pcc.mgh file. How can I get a correlation R value from this file? Thanks again Douglas N Greve

Re: [Freesurfer] correlation coefficient R

2017-04-03 Thread tom parker
Thanks Doug! I have version 6 and got a pcc.mgh file. How can I get a correlation R value from this file? Thanks again Douglas N Greve Mon, 03 Apr 2017 09:41:41 -0700

Re: [Freesurfer] correlation coefficient R

2017-04-03 Thread Douglas N Greve
if you are using version 6, then it should have produced a file called pcc.mgh. This the partial pearson correlation coef. On 04/03/2017 10:40 AM, tom parker wrote: > Dear Freesurfers, > > I made some correlations between cortical thickness and age in qdec. > > Is it possible to get the correlat

Re: [Freesurfer] correlation coefficient

2012-05-31 Thread Douglas N Greve
OK, try now doug On 05/31/2012 06:09 AM, Knut J Bjuland wrote: > Hi > > I am trying to calculate correlation coefficient using freesurfer GLM > for associations between volumes and IQ. I found this ealier answar, > but the matlab script but the link appear to be dead. > > http://www.mail-archive

Re: [Freesurfer] correlation coefficient

2012-05-02 Thread Douglas N Greve
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('contr