Home > brede > brede_read_xml_cocomac.m

brede_read_xml_cocomac

PURPOSE ^

brede_read_xml_cocomac - Read CoCoMac XML file

SYNOPSIS ^

function S = brede_read_xml_cocomac(filename, varargin)

DESCRIPTION ^

 brede_read_xml_cocomac - Read CoCoMac XML file

       S = brede_read_xml_cocomac_mapdata(filename)
 
       Input:    filename  XML string filename

       Property: Info    [ {0} | integer ] Amount of feedback/debug
                         information 
              
       Output:   S       Structure
  
       Read an XML-file generated from the CoCoMap webservice. 

       The default output is a structure of cells of structure of cells
       of structure of ... For example the first target site of the
       first connection can be accessed as: 

       S.ProcessedConnectivityData{1}.PrimaryProjection{1}.TargetSite{1}

       Some of names of fields of CoCoMac are converted so that the
       simple fields always begin with a small letter:

         CoCoMac:       Brede:
         ---------------------
         ID_BrainSite   cocomacSite
         ID_Literature  idLiterature
         PDC            pdc
         PDC_Density    pdcDensity
         PDC_Site       pdcSite
         RC             rc

       Ref: http://cocomac.org/
            Papers by Rolf K�ter and K. Stephan

       Example: 
         % XML file downloaded from CoCoMac WebService
         f = 'cocomac_connectivity_caudate.xml';
         S = brede_read_xml_cocomac(f, 'info', 10)
         S.ProcessedConnectivityData{1}.PrimaryProjection{1}.TargetSite{1}

       See also BREDE, BREDE_READ_XML,
                BREDE_COCOMAC_CONNECTIVITY2MAT.

 $Id: brede_read_xml_cocomac.m,v 1.4 2006/05/26 14:36:03 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