= DBA tutorial: Compute sources in deep cerebral structures = ''Authors: Jean-Eudes Le Douget, Francois Tadel, Denis Schwartz'' This tutorial explains step-by-step how to use the DBA (Deep Brain Activity) functionality, useful to assess subcortical source localization. <> == Import database == This tutorial is based on resting-state recordings for 7 subjects with two conditions: eyes open (YO), eyes closed (YF). We have recorded 20 runs of 15 seconds for each subject and each condition, . The goal is to compute the contrast between the two conditions in the alpha band. The data has already been filtered in the alpha frequency band (7-13Hz) and the default anatomy is used for all the subjects. * Start by downloading the tutorial dataset: *file.zip*. * The file is an exported Brainstorm protocol. To load in your database, use the menu:<
> File > Load Protocol > '''Load from zip file'''. <
><
> {{attachment:DBA_LoadProtocol.png||height="209",width="293"}} == Select deep structures == The first step consists in creating the surface file that includes the cortex and the deep structures that we want to include in the model. Here, in the default anatomy: * Double-click on "aseg atlas" (which contains the subcortical structures) * Select the amygdala, the thalamus and the hippocampus, and create a subatlas {{attachment:DBA_SelectStructures.png||height="299",width="375"}} * Merge the cortex with the atlas of selected structures ; rename the structure created in CortexDBA {{attachment:DBA_MergeSurfaces.png||height="268",width="203"}} {{attachment:DBA_RenameCtx.png||height="172",width="117"}} * Create a new atlas "Source Model Atlas", and set modeling options to "Deep brain" {{attachment:DBA_SourceModelOptions.png}} {{attachment:DBA_SetModelingOptions.png}} == Compute source activity == Then, compute a headmodel for each subject as "Custom Source Model" ; it is advised to run it as batch from the pipeline editor. {{attachment:DBA_HeadModelBatch.png}} {{attachment:DBA_HeadModelOptions.png}} At this stage, it is now possible to compute sources. {{attachment:DBA_ComputeSources.png}} {{attachment:DBA_SourceOptions.png}} {{attachment:DBA_SourceOptions2.png}} You can now visualize activity the same way as for usual headmodels. {{attachment:DBA_VisuActivity.png}} If the activity of the volume structures (thalamus and amygdala here) do not appear, try moving the Min size cursor to max and then back to 1. == Compute statistics == Now that the source calculations are done, we design a statistical analysis to assess the eyes-open and eyes-closed contrast. * First, the alpha-power is time-averaged for each run<
> {{attachment:DBA_AverageTime.png}} {{attachment:DBA_AverageTimeOptions.png}} * Then, the "Process2" tab is used : place the source power files of the eyes-closed condition in the "Files A" space and of the eyes-open condition in the "Files B" space.<
>To gain time, it is possible to sort the functional data by conditions, place the subjects in "FilesA" and "FilesB" and use the filter to include only files that contain 'avg' (for time-averaged files) * Run a Student's T-Test to compute a statistical contrast between the conditions<
> {{attachment:DBA_Ttest.png}} {{attachment:DBA_TtestOptions.png}} * The stat file can then be visualized and the values corresponding to subcortical structures are also appearing<
> {{attachment:DBA_VisuStat.png}} * It is also interesting to observe the difference of means between conditions. To compute this, instead of runnning a Student's T-Test, select the "Difference of means" option<
> {{attachment:DBA_DiffOfMeans.png}} == Volume scouts == Some subcortical structures are modeled as volume source structures (for instance here, the thalamus and the amygdala). It is not possible to display scouts time series for these structures from the "Source model" or "Structures" atlases. It is necessary to create a new atlas, specific to volumic scouts. The steps are the following : * First, create the volumic atlas<
> {{attachment:DBA_VolumeScouts.png}} * Second, to create a new scout : * Click on the "Create scout" cross, and click one point of the structure you want to include in the scout<
> {{attachment:DBA_VolumeScout_FirstPoint.png}} * Click on the "Increase scout size" as many times as necessary to include all the points of the volume, for example in the right thalamus<
> {{attachment:DBA_IncreaseScoutSize.png}} {{attachment:DBA_Scout_RightThal.png}} * Rename the scout and set the correct region and the desired function<
> {{attachment:DBA_RenameScout.png}} {{attachment:DBA_SetRegion.png}} {{attachment:DBA_SetFunction.png}} * Repeat this operation for all the volumic scouts you want to create * Finally, you can display time series of your choice<
> {{attachment:DBA_DispolayScoutsTS.png}} == DBA constraints [TODO] == Describe the constraints applied to each region. == References == Attal Y, Bhattacharjee M, Yelnik J, Cottereau B, Lefèvre J, Okada Y, Bardinet E, Chupin M, Baillet S (2009)<
>[[http://www.ncbi.nlm.nih.gov/pubmed/18003114|Modelling and detecting deep brain activity with MEG and EEG]]<
> . '''IRBM''', 30(3):133-138 Attal Y, Schwartz D (2013)<
>[[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0059856|Assessment of Subcortical Source Localization Using Deep Brain Activity Imaging Model with Minimum Norm Operators: A MEG Study]]<
>'''PLOS ONE''', 8(3):e59856 Dumas T, Dubal S, Attal Y, Chupin M, Jouvent R (2013)<
>[[http://www.plosone.org/article/info:doi/10.1371/journal.pone.0074145|MEG Evidence for Dynamic Amygdala Modulations by Gaze and Facial Emotions]]<
>'''PLOS ONE''', 8(9): e74145