[Master Index]
[Index for export/brede]
brede_spm2_table2loc
(export/brede/brede_spm2_table2loc.m)
Function Synopsis
L = brede_spm2_table2loc(A, varargin)
Help text
brede_spm2_table2loc - Convert result table to locations
L = brede_spm2_table2loc(A, 'PropertyName', 'PropertyValue')
Input: A (optional) Table from SPM2
Property Convert [ mni2tal | {none} ] conversion between
brain templates
Output: L 'Loc' structure
Reads the values from a SPM2 result window table.
'pValue' field is set to the corrected FWE voxel value and
'value' is set to the equivalent 'Z' statistics.
By default the Talairach coordinates will not be converted
from MNI to Talairach space: 'convert'='none'. Conversion can
be switched on with 'convert'='mni2tal'. See brede_loc_xform.
If there is no input arguments given the function will read the
values from the 'Graphics' window in SPM2 and return the table
from there. The data is hidden in the user data of a menu with
the tag 'TD_Xdat'.
Ref: http://www.fil.ion.ucl.ac.uk/spm/
Example:
% In the SPM2 result control window, press 'volume' or
% 'cluster' (in the 'p-values' section). Then right
% click in the table 'Extract table data structure'
% The structure now appears and the 'ans' variable in the
% workspace
L = brede_spm2_table2loc(ans)
% Alternatively if the SPM result control window is open
L = brede_spm2_table2loc
% View the coordinates
brede_ui_loc(L)
% View coordinats with more fields
f = {'coord' 'zScore' 'tValue' 'pValueCorrected' ...
'pValueUncorrected' };
brede_ui_loc(L, 'fields', f)
See also BREDE, BREDE_LOC, BREDE_LOC_XFORM, SPM_LIST.
$Id: brede_spm2_table2loc.m,v 1.2 2005/06/07 15:44:55 fnielsen Exp $
Cross-Reference Information
This function calls
Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF