Differences between revisions 6 and 7
Revision 6 as of 2011-03-14 15:50:19
Size: 1368
Editor: MartinReuter
Comment:
Revision 7 as of 2011-03-14 16:24:03
Size: 1359
Editor: KhoaNguyen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
This page will take you through the steps of processing your longitudinal data: first with running the cross sectionals and creating the longitudinals, and then with editing the data and rerunning the different streams with the new edits.  This page will take you through the steps of processing your longitudinal data: first with running the cross sectionals and creating the longitudinals, and then with editing the data and rerunning the different streams with the new edits.
Line 6: Line 6:
== Creating the Longitudinal Data == == Creating Longitudinal Data ==
Remember to set your SUBJECTS_DIR to the directory where your cross sectionals (the different time points collected) are saved, and to source FREESURFER.
Line 8: Line 9:
Remember to set your SUBJECTS_DIR to the directory where your cross sectionals (the different time points collected) are saved, and to source FREESURFER.
Line 14: Line 14:
First, run all your cross sectionals. Run recon-all -all for all tpNs (i.e. all time points for all subjects):
Line 15: Line 16:
First, run all your cross sectionals. Run recon-all -all for all tpNs (i.e. all time points for all subjects):
Line 19: Line 19:
Second, create your template/base from the tpNs. Here you can choose a name for teh templateID, e.g. 'bert' or 'bert_base' if 'bert' is already used for the first time point of this subject:
Line 20: Line 21:
Second, create your template/base from the tpNs. Here you can choose a name for teh templateID, e.g. 'bert' or 'bert_base' if 'bert' is already used for the first time point of this subject:
Line 24: Line 24:
Finally, create the longitudinals using the template and tpNs. Repeat the following steps for all tpNs. The resulting directories will be in the format of tp1id.long.templateID
Line 25: Line 26:
Finally, create the longitudinals using the template and tpNs. Repeat the following steps for all tpNs. The resulting directories will be in the format of tp1id.long.templateID
Line 32: Line 32:
Line 34: Line 33:

Processing your Longitudinal Data

This page will take you through the steps of processing your longitudinal data: first with running the cross sectionals and creating the longitudinals, and then with editing the data and rerunning the different streams with the new edits.

Creating Longitudinal Data

Remember to set your SUBJECTS_DIR to the directory where your cross sectionals (the different time points collected) are saved, and to source FREESURFER.

cd /path/to/your/data
setenv SUBJECTS_DIR $PWD
source $FREESURFER_HOME

First, run all your cross sectionals. Run recon-all -all for all tpNs (i.e. all time points for all subjects):

recon-all -all -subjid <tpNid>

Second, create your template/base from the tpNs. Here you can choose a name for teh templateID, e.g. 'bert' or 'bert_base' if 'bert' is already used for the first time point of this subject:

recon-all -base <templateID> -tp <tp1id> -tp <tp2id> ... -all

Finally, create the longitudinals using the template and tpNs. Repeat the following steps for all tpNs. The resulting directories will be in the format of tp1id.long.templateID

recon-all -long <tpNid> <templateID> -all


Inspecting Longitudinal Data

Post-Processing Longitudinal Data

Editing Longitudinal Data

FsTutorial/LongitudinalTutorial_tktools (last edited 2013-11-01 14:33:07 by MaritzaEbling)