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 http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=from:%22Douglas+N+Greve%22 Thu, 06 Apr 2017 13:32:07 -0700 http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=date:20170406
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.
2017-04-04 11:49 GMT+01:00 tom parker <tomparker540@gmail.com mailto:tomparker540@gmail.com>:
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 there a way to get a single average R value from the pcc.mgh file? Thank you so much! Douglas Greve <http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=from:%22Douglas+Greve%22> Mon, 03 Apr 2017 18:46:46 -0700 <http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=date:20170403> Each vertex is a correlation value. 2017-04-04 1:09 GMT+01:00 tom parker <tomparker540@gmail.com <mailto:tomparker540@gmail.com>>: 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 <http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=from:%22Douglas+N+Greve%22> Mon, 03 Apr 2017 09:41:41 -0700 <http://www.mail-archive.com/search?l=freesurfer@nmr.mgh.harvard.edu&q=date:20170403> if you are using version 6, then it should have produced a file called pcc.mgh. This the partial pearson correlation coef. 2017-04-03 15:40 GMT+01:00 tom parker <tomparker540@gmail.com <mailto:tomparker540@gmail.com>>: Dear Freesurfers, I made some correlations between cortical thickness and age in qdec. Is it possible to get the correlation coefficient value of this analysis? I just need to put it in a table with the significant results. Thank you so much!
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer