mdm.computeglm
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
mdm.computeglm [2010/06/09 16:20] – created jochen | mdm.computeglm [2010/11/24 05:13] – updated the help jochen | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Motivation ===== | ===== Motivation ===== | ||
- | To combine several subjects' | + | To combine several subjects' |
This method then allows to perform the regression on a session-by-session basis and combine the results in one compound GLM object. | This method then allows to perform the regression on a session-by-session basis and combine the results in one compound GLM object. | ||
Line 9: | Line 9: | ||
This function is currently implemented for BrainVoyager QX's GLM format only. The following files must be available: | This function is currently implemented for BrainVoyager QX's GLM format only. The following files must be available: | ||
* VTC (or MTC) files for all runs of all subjects (e.g. the ones automatically created by spm5_preprojobs, | * VTC (or MTC) files for all runs of all subjects (e.g. the ones automatically created by spm5_preprojobs, | ||
- | * PRT (or the derived SDM) files for all runs (if subjects share this information, | + | * [[xff - PRT format|PRT]] |
- | * optionally the realignment parameter files (supported formats: TXT for SPM rp*.txt files, SDM for BV's motion correction output) | + | * optionally the realignment parameter files (supported formats: TXT for SPM rp*.txt files, |
**Note: The combination of within-subjects regressors (e.g. same condition across several runs) is done by identifying the subject ID as the particle of the time-course filename before the first underscore character!** This means that VTC (or MTC) filenames **must be named** as follows: | **Note: The combination of within-subjects regressors (e.g. same condition across several runs) is done by identifying the subject ID as the particle of the time-course filename before the first underscore character!** This means that VTC (or MTC) filenames **must be named** as follows: | ||
Line 37: | Line 37: | ||
| | ||
- | .globsigs | + | .globsigs |
+ | 0 - none | ||
+ | 1 - entire dataset (above threshold/ | ||
+ | 2 - two (one per hemisphere, split at BV Z=128) | ||
+ | 3 or more, perform PCA of time courses and first N | ||
+ | xff object(s), extract average time course from masks | ||
.ithresh | .ithresh | ||
.loadglm | .loadglm | ||
.mask optional masking, default: no mask (for now only VTC) | .mask optional masking, default: no mask (for now only VTC) | ||
.motpars | .motpars | ||
+ | .motparsd | ||
.motparsq | .motparsq | ||
.ndcreg | .ndcreg | ||
+ | .orthconf | ||
.outfile | .outfile | ||
.ppicond | .ppicond | ||
.ppirob | .ppirob | ||
| | ||
- | .ppivoi | + | .ppivoi |
+ | .ppivoiidx intra-VOI-object index (default: 1) | ||
.prtpnorm | .prtpnorm | ||
+ | .redo selected subjects will be overwritten (default: false) | ||
.regdiff | .regdiff | ||
.restcond | .restcond | ||
.robust | .robust | ||
+ | .savesdms | ||
+ | .showsdms | ||
+ | .shuflab | ||
+ | .shuflabm | ||
.subsel | .subsel | ||
.tfilter | .tfilter | ||
.tfilttype temporal filter type (either ' | .tfilttype temporal filter type (either ' | ||
.vweight | .vweight | ||
+ | .xconfound just as motpars, but without restriction on number | ||
| | ||
Line 67: | Line 81: | ||
| | ||
| | ||
- | for .ppi to work, the model filenames must be PRTs!</ | + | for .ppi to work, the model filenames must be PRTs! |
+ | all additional fields for the call to PRT:: | ||
===== Usage examples ===== | ===== Usage examples ===== | ||
Starting from scratch, the user has to do the following steps: | Starting from scratch, the user has to do the following steps: | ||
* locate the filenames of the VTC (or MTC and SSM/TSM) files to be regressed | * locate the filenames of the VTC (or MTC and SSM/TSM) files to be regressed | ||
- | * locate the filenames of the PRT (or SDM) files to be used as regressors (model) | + | * locate the filenames of the [[xff - PRT format|PRT]] |
* optionally locate the filenames of the realignment parameter files | * optionally locate the filenames of the realignment parameter files | ||
* make settings in the MDM structure | * make settings in the MDM structure |
mdm.computeglm.txt · Last modified: 2011/04/03 01:21 by jochen