Home > brede > brede_ui_loc.m

brede_ui_loc

PURPOSE ^

brede_ui_loc - UI for editing 'Loc' structure

SYNOPSIS ^

function varargout = brede_ui_loc(varargin)

DESCRIPTION ^

 brede_ui_loc         - UI for editing 'Loc' structure

       function varargout = brede_ui_loc(varargin)

       Input:    Loc       (Optional) 'loc' structure

       Property: BrainTemplate [ {MNI} | Talairach | PAN ] Variable
                             to setup the "Brain Template" popup menu
                             automatically 
                 Fields      [ {'lobarAnatomy' 'brodmann'
                             'coordReported' 'zScore' } | ... ] List
                             of fields to be shown. 
                 HandleExp   Real value for identifying the 'exp'
                             structure for the brede_ui_exp
                             window/function 
                 NumberOfLoc [ {20} ] Number of fields to type in the  
                             locations. 

       This function controls the window for entering and editing a
       'loc' (location) structure that each contain one Talairach
       coordinate with each associated information, eg, lobar
       anatomy, functional area, z-score, p-values, etc.

       The variables on the first page is not used to set the fields
       in the 'loc' structure directly. Rather, they are used to
       interprete the 'x', 'y' and 'z' coordinate. "Brain Template"
       determines if the coordinates should be converted (from
       "coordReported" to "coord"). With "Talairach" the coordinates
       are not converted. With "MNI" the are transformed with
       brede_loc_xform function. Analyses performed with SPM96 and
       SPM99 are usually in the MNI-space. Note that this button
       defaults to MNI. 

       If the window has been started from the brede_ui_bib window
       the data can be view with "View bib structure" in the bib
       window and, eg, b=ans; b.Exp{1}.Loc{1} to view the first
       location in the first 'exp' structure.

       The type of fields/columns and the number of rows of locations
       can be setup via the brede_ui_init_loc funktion.

       Conventions for typing in information from scientific articles
       to the Brede Database: Coordinates are usually typed in the
       order they appear in the article. Abbreviations in the lobar
       anatomy are expanded, eg, "ACG" -> "Anterior cingulate
       gyrus". Labels which are predominantly functional, 
       eg, "Primary motor", "Supplementary motor area" are typed in
       the functionalArea field rather than lobarAnatomy field.

       Presently the graphical user interface does not perform well
       if there are many 'loc' entries (>50), i.e., it will be bad to
       handle several 100 locations.

       Menu:

       The locations can be read in from comma seperated files (CSV)
       or as XML files. There is also an example dataset available
       from Ian Law et al. (1997).
 
       With 'View|View Loc structure' the locations are popped to the
       command line where they are available in the temporary 'ans'
       variable.
       
       The information keyed in can be viewed in a 3D corner cube
       environment by the command in the 'View|Corner Cube
       Environment' menu. This shows the locations transformed to the
       Talairach space. The information can also be viewed within a
       web-browser with the 'View|Construct HTML' menu item.

       Example:
         brede_ui_loc

         % Another example with a predefined location:
         L.xReported=0.01; L.yReported=0.011; L.zReported=0.012;
         brede_ui_loc(L)

       See also BREDE, BREDE_UI, BREDE_LOC, BREDE_EXP, BREDE_BIB,
                BREDE_UI_BIB, BREDE_UI_EXP, BREDE_UI_LOC_INIT,
                BREDE_WRITE_XML, BREDE_LOC_LOC2HTML,
                BREDE_LOC_LOC2MAT, BREDE_LOC_LOC2WPTEMPLATE,
                BREDE_LOC_XFORM.

 $Id: brede_ui_loc.m,v 1.37 2008/03/31 14:18:27 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005