topics - functions - index - search

rd_taskcorr.m

Correlations between task and global brain mean or motion.
FORMAT Cond = rd_taskcorr;
FORMAT Cond = rd_taskcorr('Global');
Computes the correlations between the different task
conditions and the global brain mean intensity.
FORMAT Cond = rd_taskcorr('Motion');
Computes the correlations between the different task
conditions and the motion parameters estimated during
the realignment stage.
FORMAT Cond = rd_taskcorr('Global','Motion');
FORMAT Cond = rd_taskcorr('Motion','Global');
Computes the correlations with both the global brain
mean and the motion parameters.
Returns a table of the correlations and their corresponding
significance values. The correlations are computed over
the averaged timcourse during the peri-simulus period (or
Cond.min_elapse). Please see the Cond structure description
below for more information.
Cond - structure containing information for each condition
.name - name of condition
.iC - corresponding column(s) in the design matrix xX.X
.iS - corresponding condition indeces in each Sess
.iSC - session specific indeces for this condition
.X - task variates from xX.X collapsed across .iC columns
.g - the average global brain during the peri-stimulus time
.G - the average task variate during the peri-stimulus time
.rGg - correlation (Pearson's R) between task and global mean
.t - t statistic corresponding to .rGg
.p - p value giving the significance of .rGg (two-tailed)
.onsec - the onsets for this condition (in sec)
.onidx - the onsets for this condition (in scans)
.num_scans - (a guess about the) duration of the PST in scans
.min_elapse - the minimum time between consecutive presentation
of trials or blocks of this condition type (it is
used to make a guess about the duration of the PST)
If the 'Motion' option is selected, the following fields will
be added to Cond:
.RP - a 6xPST matrix of the average for each of the
realignment parameters during the peri-stimulus time
.RPname - name of each realignment parameter and the averages
.RPr - correlations (Pearson's R) between task and the 6
realignment parameters, the average of translations,
the average of rotations, and the average of all 6
realignment parameters
.RPt - t statistics corresponding to .RPr
.RPp - p values giving the significance of .RPt (two-tailed)
---------------------------------------------------------------
Compatible with SPM99 files.
Uses SPMcfg.mat to load parameters.
Condition names across different sessions are matched ignoring
letter case. The order in which conditions have been entered in
each session is not important.
---------------------------------------------------------------
@(#) rd_taskcorr.m 1.1 Kalina Christoff 2000-06-10