Guidance Needed for Analyzing Granger Causality of Brain Signals in DEAP Database

I am writing to seek your guidance on how to utilize your software for calculating Granger causality of EEG signals within the DEAP database.
I am particularly interested in understanding the process of analyzing the Granger causality of EEG signals present in the DEAP dataset. Could you please provide me with instructions or steps on how to effectively use your software for this purpose? Any insights or tips you can offer regarding preprocessing, parameter settings, and result interpretation would be greatly appreciated.

Hi @alisajahan, if you are new to Brainstorm, the best way to get familiar with it is by going through the Get started tutorials. At least until Tutorial 19, if you are only interested in sensor level analyses.
https://neuroimage.usc.edu/brainstorm/Tutorials

About Granger causality, there a tutorial with section dedicated to it:
https://neuroimage.usc.edu/brainstorm/Tutorials/Connectivity

Hi Mr.Cassani @Raymundo.Cassani Thank you for the response and guidance you provided. In fact, I am having trouble with the data entry phase into the Toolbox environment. The data I am using consists of signals available in the DEAP database with the following format
|data|40 x 40 x 8064|video/trial x channel x data|

|labels|40 x 4|video/trial x label (valence, arousal, dominance, liking)|

Please guide me on how to import this data into the Toolbox environment and what changes I should make to the data format.

The data formats supported by Brainstorm are listed there:
https://neuroimage.usc.edu/brainstorm/Introduction#Supported_file_formats

1 Like

It seem you data is just a Matlab matrix with dimensions [nTrials, nChannels, nSamples] if this is the case it is possible to directly review them in Brainstorm.

  1. Data must be permuted to have the shape: [nChannels, nSamples, nTrials]
  2. Review the data in Brainstorm selecting the format: EEG: Matlab matrix (*.mat)
  3. Select the .mat file with the data
  4. Select the proper orientation [nChannels, nSamples], sampling frequency and units
    A raw folder will be created for each of the trials

More info:
https://neuroimage.usc.edu/brainstorm/Tutorials/ChannelFile#Link_the_raw_files_to_the_database