Dear FreeSurfer

I have read through a similar question/answer (again): http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg53238.html

However, i still done seem to understand how to exactly pass the output of long_stats_slopes into the following command with a C and fsgd file??

mri_glmfit --osgm \
--glmdir testretest.aseg-pc1 \
--table testretest.aseg-pc1.stack.txt


Best wishes,
Kasper





-------- Original Message --------
Subject: mri_glmfit long_stats_slopes with group
Local Time: August 11, 2017 10:08 AM
UTC Time: August 11, 2017 8:08 AM
From: kasper@brejes.com
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>

Dear Freesurfer,

I would like to test  if the percentage change (two time points) of cortical thickness is different between two groups.

What i have done:

FIRST: long_stats_slopes --qdec ./qdec/long.qdec.table.dat --stats lh.aparc.stats --meas thickness --sd $SUBJECTS_DIR --do-spc --generic-time --stack-spc ./qdec/long.lh.aparc.stats.stack.txt

SECOND: mri_glmfit --osgm --glmdir lh_thickness.aparc-spc --table long.lh.aparc_thickness.stats.stack.txt

 THIRD: cat lh_thickness.aparc-spc/sig.table.dat

Qesteions:
1. How do i test if there is a significant difference between the two groups?
2. How do i visualise this difference in FreeView?

Best regards
Kasper Jessen