Functional Data format

BRAPH 2 format for functional data (single layer)

Description:

This is the tutorial for the formatting of your functional data (such as functional MRI, MEG or EEG) to BRAPH 2 format.

  • Prepare the data in XLS/XLSX

You need one file per each subject with the time series data inside a folder for the group, and one subfolder for covariates data (optional). See the directories tree in Figure 1.

Figure 1. Directories tree.

All the subjects’ files must be in the same folder; also, no other files should be in the folder. Each file contains a table with each row corresponding to a time series and each column to a brain region (Figure 2).

The XLS/XLSX file containing the covariates must be inside another folder in the same group directory and consists of the following columns: Subject ID (column 1), Subject COVARIATE 1 (column 2), and Subject COVARIATE N (column 3).

The first row contains the headers and each subsequent row the values for each subject.

Figure 2. Example format of the data for one subject.

 

  • Prepare the data in TXT

You need one file per each subject with the time series data inside a folder for the group, and one subfolder for covariates data (optional). See the directories tree in Figure 1.  All the subjects’ files must be in the same folder; also, no other files should be in the folder. Each file contains a table with each row corresponding to a time series and each column to a brain region.

The TXT file containing the covariates must be inside another folder in the same group directory and consists of the following columns: Subject ID (column 1), Subject COVARIATE 1 (column 2), and Subject COVARIATE N (column 3). The first row contains the headers and each subsequent row the values for each subject.