Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

GAT-FD: An integrated MATLAB toolbox for graph theoretical analysis of task-related functional dynamics

  • Meng Cao,

    Roles Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing – original draft

    Affiliation Department of Biomedical Engineering, New Jersey Institute of Technology, Newark, New Jersey, United States of America

  • Ziyan Wu,

    Roles Investigation, Methodology, Resources, Validation, Writing – review & editing

    Affiliation Department of Electrical and Computer Engineering, New Jersey Institute of Technology, Newark, New Jersey, United States of America

  • Xiaobo Li

    Roles Conceptualization, Funding acquisition, Investigation, Project administration, Supervision, Validation, Writing – review & editing

    xli.aecom@gmail.com, xiaobo.li@njit.edu

    Affiliations Department of Biomedical Engineering, New Jersey Institute of Technology, Newark, New Jersey, United States of America, Department of Electrical and Computer Engineering, New Jersey Institute of Technology, Newark, New Jersey, United States of America

Abstract

Functional connectivity has been demonstrated to be varying over time during sensory and cognitive processes. Quantitative examinations of such variations can significantly advance our understanding on large-scale functional organizations and their topological dynamics that support normal brain functional connectome and can be altered in individuals with brain disorders. However, toolboxes that integrate the complete functions for analyzing task-related brain functional connectivity, functional network topological properties, and their dynamics, are still lacking. The current study has developed a MATLAB toolbox, the Graph Theoretical Analysis of Task-Related Functional Dynamics (GAT-FD), which consists of four modules for sliding-window analyses, temporal mask generation, estimations of network properties and dynamics, and result display, respectively. All the involved functions have been tested and validated using functional magnetic resonance imaging data collected from human subjects when performing a block-designed task. The results demonstrated that the GAT-FD allows for effective and quantitative evaluations of the functional network properties and their dynamics during the task period. As an open-source and user-friendly package, the GAT-FD and its detailed user manual are freely available at https://www.nitrc.org/projects/gat_fd and https://centers.njit.edu/cnnl/gat_fd/.

Introduction

Functional connectivity (FC), which quantifies temporal dependencies among spatially separated brain regions, has been highlighted as a sensitive and robust measurement in functional magnetic resonance imaging (fMRI) for understanding the topological organization of functional brain networks during sensory and cognitive processes and at resting-state [1, 2]. Typically, FC was evaluated in a “static” sense, which utilizes the entire scan duration for the connectivity calculation. Recently, accumulative evidence has suggested the temporally varying pattern of FC, referred to as dynamic FC, which can provide us a novel approach to depicting the non-stationarity of functional brain communications [35].

Currently, sliding-window-based techniques are commonly implemented for estimating FC dynamics [69]. Such approach applies an N-volume moving window along the time domain to estimate the pair-wise FCs based on signals of the current and previous N volumes. It thus generates a series of consecutive FC metrics, depicting the dynamically varying FC and topological organizations of the functional brain network.

To date, several toolkits have been developed for analyzing dynamic FC by using the sliding-window approach. The GIFT (http://mialab.mrn.org/software/gift/) is one of such toolkits, which has been commonly utilized in fMRI data [1012]. The GIFT implements the K-means clustering method to effectively detect region-of-interest (ROI)-based stable brain states within a group of subjects when there is no external stimulus information, which makes it robust in evaluating ROI-based FC dynamics during resting-state [13, 14]. The DynaConn (http://www.drsakoglu.com/p/dynaconndfctoolbox.html), built based on GIFT toolbox’s functions, adds statistical analysis, task modulation analysis, and display options in analyzing the functional dynamics [15]. The DynamicBC (https://www.nitrc.org/projects/dynamicbc/) is another commonly implemented toolkit that calculates between-voxels, between-ROIs, and ROI-to-the reminder of whole brain FC dynamics in the temporal domain [16]. Compared to the GIFT, DynamicBC is more flexible in estimating ROI-based FC dynamics. The CONN (https://web.conn-toolbox.org/) is also frequently utilized for sliding window-based analysis of FC dynamics [17]. Relative to the GIFT and DynamicBC, CONN is a more comprehensive toolbox that provides preprocessing, static connectivity analysis, between-ROI dynamic variability analysis, and dynamic independent component analysis. The DyConPro (https://github.com/tobiamj/DyConPro) implements parallel factor analysis on dynamic connectivity signals to identify subnetworks that are related to individual differences [18]. Although these existing toolboxes have made it possible to estimate regional or between-ROI FC dynamics in fMRI data, they all lack the capacity in further assessing the temporal dynamics of the systems-level topological properties associated with the functional brain network during a cognitive task.

In this study, we introduce an open-source and user-friendly MATLAB toolbox, the Graph Theoretical Analysis of Task-Related Functional Dynamics (GAT-FD), which we have developed to integrate the complete pipelines for estimating the task-related dynamic brain FC and quantifying the topological dynamics and its statistical property of the functional brain network. This toolkit and the user manual with detailed explanations of each function and step-by-step instructions for implementations are freely available at https://www.nitrc.org/projects/gat_fd and https://centers.njit.edu/cnnl/gat_fd/.

Methods

Overview

The GAT-FD toolbox provides a graphical user interface for characterizing the functional network dynamics in task-related fMRI data, based on the graph theoretical techniques. It was developed in MATLAB (Mathwork, Inc.) version 2019b and has been tested with MATLAB version 2016b to version 2019b. The GAT-FD is organized into four modules (Fig 1A and 1B) for sliding-window analysis (Fig 1C), task-specific temporal mask generation (Fig 1D), estimations of network properties (Fig 1E), and result display (Fig 1F), respectively. First, the sliding-window analysis module takes the preprocessed fMRI data and generates connectivity matrices based on selected atlas and sliding-window parameters. Next, the task design module creates temporal mask for dynamic analysis using task design information. Then, the network analysis module calculates the network properties for the time steps marked by the temporal mask. Last, the result display module plots the results for visual checking.

thumbnail
Fig 1. The four function modules of the GAT-FD toolbox.

(A) A flowchart for analyzing functional network dynamics using GAT-FD toolbox. (B) The main user interface. (C) The sliding-window analysis module. This module generates connectivity matrices on the basis of specified sliding-window parameters. (D) The task design module. This module generates temporal inclusive mask according to the task design. (E) The network analysis module. This module calculates the topological properties for each connectivity matrix. (F) Result display module. This module provides visualization of the results from all other modules. fMRI: functional magnetic resonance imaging. ROIs: regions-of-interest. Note: Required steps are indicated using solid arrows. Optional steps are indicated using dashed arrows.

https://doi.org/10.1371/journal.pone.0267456.g001

Inputs

The GAT-FD toolbox works with pre-processed fMRI data. Properly pre-processed images can effectively minimize the falsely discovered dynamics caused by motion artifacts and undesired physiological fluctuations. The inputs are 4-dimonsional fMRI data in uncompressed or compressed NIfTI format (e.g., *.nii or *.nii.gz). All build-in atlases are in Montreal Neurological Institute (MNI) space. Therefore, all input data are required to be transformed from individual imaging space to MNI space, if the user is intended to use any of the build-in atlas. The toolbox also provides an option for the user to import MAT-format input files with a matrix containing the time series of each ROI, which allows extra flexibility in temporal processing.

Sliding-window analysis and FC matrix construction

The sliding-window approach is the most common analytical method to explore the network dynamics in fMRI studies [7, 19]. The basic time unit in sliding-window analysis is repetition time (TR), which contains one volume. In this approach, a sliding-window with a fixed length of TRs (called as window size) and a “moving step” (called as step size) along the time series are first defined. Then a FC matrix is constructed, based on the volumes covered by the sliding-window, for each time point that separated by the moving step. The GAT-FD toolbox includes a sliding-window analysis module to extract the activation time series for selected ROIs, perform temporal filtering, apply sliding-window, and construct the FC matrices, as shown in Fig 2. Two options for ROI determination, the customized brain masks and build-in atlas, are available in the module. The toolbox currently provides two build-in atlas, including the automated anatomical labeling (AAL) atlas [20] and Brainnetome atlas [21]. For user-loaded (customized) brain masks and atlas, the MNI space format is required to avoid miscalculations during extraction of blood-oxygen-level-dependent (BOLD) responses. Customized ROIs masks can also be imported with the atlas option set to “Custom”. If customized ROIs were selected, the masks must be in the same coordination space as the input data.

thumbnail
Fig 2. The user interface of sliding-window analysis module.

By clicking the “Default Setting” button, users can reset all the parameters to default values. The user specified parameters can be saved and loaded by clicking the “Save/Load Settings” buttons. By clicking the “Run” button, the sliding-window analysis can be performed.

https://doi.org/10.1371/journal.pone.0267456.g002

Compared to static FC analysis that uses signals in the entire scan duration to calculate the functional correlations, dynamic FC analysis uses a much smaller window size, which is more sensitive to noises in the data. Therefore, the step of temporal filtering is essential to guarantee the accuracy of detected dynamics of the functional brain network. The sliding-window analysis module of the GAT-FD toolbox includes options of high-, low-, band-pass filter, and wavelet filter to help further minimize the undesired noises. When applying high-, low-, or band-pass filter, the corresponding cut-off values (a lower-limit cut-off value is required for high-pass filter, an upper-limit cut-off value is required for low-pass filter, and both lower- and upper- limits cut-off values are required for band-pass filter) are specified as the inverse of the cut-off frequency, i.e., the unit of second, instead of Hz are implemented here. Wavelet decomposition, as a frequently used tool in task-based fMRI data analysis, increases sensitivity in detecting signal correlation against a noisy background, especially when motion artifacts related spikes occur [22, 23]. If the wavelet filtering function is selected, the sliding-window module will first decompose each activation time series using the maximal overlap discrete wavelet transform (MODWT) with a specific number of levels, and then transfer back with selected levels of coefficients using inverse MODWT. The number of wavelet decomposition levels and the selected wavelet levels need to be specified by the user. The temporal filtering function is optional in this module, given that input data can be already filtered during the pre-processing steps.

In the GAT-FD toolbox, the FC between a pair of ROIs at each step is represented by the Pearson’s correlation coefficient of the BOLD signals within the corresponding sliding-window in the two ROIs. Therefore, the window size and the step size are critical in detecting the desired temporal dynamics during task stimulation-related period when using sliding-window analytical method. The selections of these parameters depend on the task design and the repetition time (TR). Studies have suggested the window size to be larger than 15 TRs, which means at least 15 volumes within a sliding-window, to get reliable estimations of between-region temporal correlations [2426]. In addition, the window size needs to be smaller than the length of one task block to provide sufficient number of measures on describing mid-task variability [27, 28]. The GAT-FD toolbox also offers an option to utilize gaussian kernel-based sliding-window [7, 10]. Such approach applies a tapered sliding-window with a different weight for each volume involved in the window during the correlation calculation. A series of FC matrices is then generated for each subject with user specified sliding-window parameters. The sliding-window analysis module can also generate connectivity matrix for static functional network by setting the window size equal to the length of the full fMRI task. The sliding-window analysis module is able to process multiple input files at once, to generate one MAT-format output file for each selected subject.

Temporal inclusive mask generation for block-designed tasks

Studies have found that the pattern of pairwise FC varies between the rest and task conditions during fMRI [29, 30]. To map the task-specific (or rest-specific) FC matrices in the sliding-window analysis module, the temporal inclusive mask generated from the task design module of the GAT-FD toolbox can be needed. To determine the temporal inclusive mask, two thresholding methods, estimated activation level thresholding and condition coverage percentage thresholding, are provided (Fig 3). Users can choose to use either or both methods to generate their study-specific masks by checking the box of each function. If both boxes are checked, logic AND will be implemented to the two masks for the final output of the temporal inclusive mask. The estimated activation level thresholding method is based on the estimated hemodynamic responses which are internally estimated in the module by convolving the task design with the hemodynamic response function in Statistical Parametric Mapping (SPM) toolbox [31]. If the box for estimated activation level method is checked and the threshold is provided by the user (or by using default value), the time points with the estimated activation magnitude (ranged from 0 to 1, with 1 representing the maximum estimated response for a single stimulus) higher than the user defined threshold are included in the temporal inclusive mask. By checking the box of condition coverage percentage thresholding method, selecting the condition type (1 for task and 0 for rest), and defining the percentage threshold (X%), time points with at least X% of their associated sliding windows under the selected task condition (according to the task design) will be inclusive in the mask. The default settings for these two parameters are 0.8 and 80, respectively. The output of this module is a temporal inclusive mask which contains the indices of the task stimulation-related study-specific FC matrices. In addition, users can manually define the temporal inclusive mask.

thumbnail
Fig 3. The user interface of task design module.

By clicking the “Default Setting” button, users can reset all the parameters to default values. After defining all the parameters, the temporal inclusive mask can be plotted in the bottom by clicking the “Update Design” button. When the “Task Design” plot option is checked, the task design is plotted in solid black line. When the “Hemodynamic Response” plot option is checked, the estimated hemodynamic response is plotted in dashed red line. When the “Temporal Mask” plot option is checked, the time points selected by the temporal inclusive mask are shown in green areas. The temporal inclusive mask file needs to be saved by clicking on the “Save Design Matrix” button.

https://doi.org/10.1371/journal.pone.0267456.g003

Characteristics of the topological dynamics of the functional brain network

To characterize the topological dynamics of the functional brain network, the first step is to binarize the involved FC matrices. The network analysis module of the GAT-FD toolbox provides multiple thresholding methods for FC matrix binarization, including absolute thresholding, proportional thresholding, and wiring cost thresholding. The absolute thresholding method applies the same user specified correlation coefficient threshold (ranging from -1 to 1) to all connectivity matrices. The proportional thresholding method defines the threshold relative to the maximum correlation coefficient in each FC matrix with user specified proportion, ranging from 0 to 1. The wiring cost thresholding method preserves the top connections (with user specified cost threshold) in each FC matrix. The cost of a network is defined as the number of existing connections divided by the number of all possible connections, which ranged from 0 to 1, representing the top 0% to 100% connections, respectively. The toolbox also includes the option of using absolute value of the correlation coefficient for thresholding.

Estimations of topological properties at both the global- and nodal-level are provided in the toolbox. The global-level properties include network global efficiency, network local efficiency, network clustering coefficient, network average degree, characteristic path length, normalized clustering coefficient, normalized path length, small world coefficient, transitivity coefficient, assortativity coefficient, and modularity coefficient. The nodal-level properties include nodal global efficiency, nodal local efficiency, nodal clustering coefficient, nodal degree, and betweenness centrality. These topological properties are calculated from the binarized FC matrices.

The network global efficiency, Eglob(G), is a metric of the structural network integration that reflects the ability of information transferring across distributed brain areas [32]. It is defined as: (1) where n is the number of nodes in the network, and dij is the inverse of the shortest path length (number of edges) between node i and j.

The network local efficiency, Enetworkloc(G), estimates the network segregation and represents the fault tolerance level of the network [32], which is defined as: (2) where Gi is the subnetwork that consists of all neighbor nodes of node i, and the global efficiency of subnetwork Gi is calculated using equation Eq (1).

The network averaged degree is the average number of neighbors (degree) of all nodes in the network, represents the overall connectivity strength in the network.

The network clustering coefficient, C(G), is the mean clustering coefficient of all nodes in the network, which represent the fraction of the node’s neighbors that are also neighbors of each other [33]. It is defined as: (3) where aij is the connection between node i and j (1 for connected and 0 for not connected), and ki is the number of neighbors of node i.

The characteristic path length, L(G), is the average length of the shortest path between all node-pairs in the network [33]. It is an alternative of network global efficiency, which is defined as: (4)

The normalized clustering coefficient, Cnorm or γ, is the ratio between the network clustering coefficient of the current network and similar random networks [33]. It is defined as: (5) where Crand is the average of network clustering coefficient of multiple random networks (20 random networks are used in the GAT-FD toolbox) that have the same number of edges and nodes as the current network.

The normalized path length, Lnorm or λ, is the ratio between the characteristic path length of the current network and similar random networks [33]. It is defined as: (6) where Lrand is the average of characteristic path length of multiple random networks (20 random networks are used in the GAT-FD toolbox) that have the same number of edges and nodes as the current network.

The small world coefficient, S or σ, is the ratio between normalized clustering coefficient and normalized path length, which is defined as: (7)

The transitivity coefficient is a similar measure as network clustering coefficient, which is the fraction of closed triplets in all possible triplets of a network [34].

The assortativity coefficient characterizes the connectivity similarity of all connected node-pairs in the network, which is the correlation coefficient between the degrees of nodes on both sides of all edges [35].

The modularity coefficient is the quantitative measure of the ability to subdivide a network into clearly separated modules [36].

The nodal global efficiency, Enodal(i), is a measure of nodal communication capacity of a node with all other nodes in the network, which is defined as: (8)

The nodal local efficiency of node i represents the robustness and integration of the subnetwork it belongs, which was defined as the network global efficiency of the subnetwork that consists of all the neighbors of i.

The nodal clustering coefficient, C(i), describes the likelihood of whether the neighboring nodes of node i are interconnected with each other [33]. It is defined as: (9)

The nodal degree is the number of neighbors of a specific node. It represents the network connection strength of the node.

The betweenness centrality, B(i), attempts to measure the ability for one node to bridge indirectly connected nodes [37]. It is defined as: (10) where j, k were node pairs in the network. p(i|j, k) was whether the shortest path between node j and node k passes through node i. P(j, k) was the total number of unique shortest path between node j and node k.

The temporal dynamics of a global- or nodal-level topological property are measured using the variance of this property over the selected time range (or multiple time ranges defined in Section 2.4) during the entire scan period. The variance is used to characterize the stability of a topological property, which is defined as: (11) where N is the number of time points, Ai is the network topological property at that time point, and μ is the mean of the network topological property over the selected time points. The GAT-FD toolbox utilizes functions from the brain connectivity toolbox for network construction and topological features calculation [38]. The calculations are time consuming, therefore, parallel computing option in this module is supported if the MATLAB parallel toolbox is installed. The detailed configurable parameters are shown in Fig 4.

thumbnail
Fig 4. The user interface of network analysis module.

The selected timepoints are displayed at the top right corner after loading the temporal mask file. If the “Use absolute value of correlation coefficient” is checked, all the negative correlation coefficients in the connectivity matrices are converted to positive value before thresholding. By clicking the “Calculate Network Properties” button, the network analysis is performed with user specified thresholding parameters and user selected topological measures.

https://doi.org/10.1371/journal.pone.0267456.g004

Result display

Result display module provides convenient features to visually check the calculated results from all previous modules, as shown in Fig 5. The constructed connectivity matrices for each sliding-window can be checked for any abnormal conditions. Task design can be loaded and displayed to provide a visual inspection for sliding-window selection. The results from the network analysis module can also be loaded in the display module. The global-level topological properties selected in the network analysis module can be plotted at individual level or group level, along with the estimated hemodynamic response. The nodal-level topological properties are stored as MATLAB matrix in the result file. Due to the size of the results matrix, the nodal-level topological properties cannot be plotted and can only be accessed by loading the result file into MATLAB.

thumbnail
Fig 5. The user interface of result display module.

After loading the generated connectivity matrices file and temporal mask file, the functional connectivity matrix can be displayed at top right conner by selecting the desired sliding-window step using the “Frame” slider. After loading the generated network properties file, the network topological properties for different subjects and different threshold values can be displayed at the bottom by clicking the “Update” button.

https://doi.org/10.1371/journal.pone.0267456.g005

Illustration

Data

Task-based fMRI data from 40 typically developing children (male/female: 22/18) were involved in the validation and illustration of the GAT-FD toolbox. All subjects were 11 to 16 years old, right-handed according to the Edinburgh Handedness Inventory [39], within or post puberty based on the parent version of Carskadon and Acebo’s rating scale [40], and had full scale IQ≥ 80 estimated by the Wechsler Abbreviated Scale of Intelligence II (WASI-II) [41]. None of the subjects reported a history or current diagnoses of neurological and psychiatric disorders, chronic medial illnesses, or learning disabilities. None of them had been taking stimulant or non-stimulant medications within the past 3 months prior to the study visit that might impact the brain activations during fMRI data acquisition. The study received institutional review board approval at the New Jersey Institute of Technology and Saint Peter’s University Hospital. Prior the study, all the participants and their parents or legal guardians provided written informed assents and consents, respectively.

Each participant performed a block-design visual sustained attention task (VSAT) during the fMRI scan. The VSAT included 5 task blocks interleaved by 5 rest blocks, each was 30 seconds. Detailed descriptions of the task were provided in our previous studies [42, 43]. The fMRI data were collected using a 3-Tesla Siemens TRIO (Siemens Medical Systems, Germany) scanner with a whole brain gradient echo-planar sequence (voxel size = 1.5 mm × 1.5 mm × 2.0 mm, TR = 1000 ms, echo time = 28.8 ms, and field of view = 208 mm, slice thickness = 2.0 mm).

Preprocessing

The preprocessing steps were performed using FEAT toolbox in FMRIB’s Software Library [44]. Each raw data was first corrected for slice timing and motion artifacts, using sinc interpolation and rigid-body transformation, respectively. Then brain extraction was performed to remove non-brain tissues using the averaged fMRI data. Spatial smoothing was performed with a 5-mm full-width at half maximum gaussian kernel to improve the signal-to-noise ratio. The signal intensity was then normalized for each slice. Then, a high-pass temporal filter of 1/75 Hz was applied to remove low frequency noises. Finally, linear registration was performed to the MNI template with a voxel size of 2 × 2 × 2 mm3.

The group average activation map within the study cohort was calculated and parcellated according to the AAL atlas [20]. Within each parcellated brain regions that contain at least 100 significantly activated voxels (Z ≥ 2.3 after cluster correction for multiple comparisons), a spherical ROI with the radius of 5mm and centered at the regional maximum of the activated cluster was generated in the MNI space. A total of 59 ROIs (nodes for the to be constructed functional brain networks) were generated and mapped back to each pre-processed fMRI data to construct the dynamic functional networks.

The GAT-FD-based processes

For data from each subject, wavelet-based temporal filtering was first performed on the time series of each ROI, using the 5-level wavelet transformation. The level 3,4, and 5, corresponding to frequency band of 0.015–0.124 Hz, were then used to reconstruct the time series for each ROI. This frequency band has been demonstrated to contain most task-related hemodynamic information [4, 42, 45]. Then, the sliding-window analysis was performed with the window size of 17 TRs and the step size of 1 TR. Such window size and step size were suggested to be able to generate reliable temporal correlation coefficient (the FC measure) within each sliding step and offer enough sliding steps that allows for estimations of variability of the FC during the task stimulation period [2628]. A total of 284 connectivity matrices were then generated for each subject.

As an example of illustrating the characterization the task stimulation-related dynamics of the network properties, a temporal inclusive mask was generated based on the blocked design of the task. The condition vector was set as “0 1 0 1 0 1 0 1 0 1”, where 0 was for a rest block and 1 for a task block. The duration vector for each block was converted from second to TR and set as “30 30 30 30 30 30 30 30 30 30”. The estimated activation level threshold was set as 0.8, and the task condition coverage percentage threshold was set as 80%, as suggested by default. By implementing this temporal inclusive mask, a total of 79 FC matrices, which were generated in the sliding-window analysis module, were marked as task stimulation-related.

In the network property analysis module, the absolute thresholding method was implemented for the binarization of the 284 FC matrices generated in the sliding-window analysis module. The range of correlation coefficient threshold was set as from 0.5 to 0.85 with a step size of 0.01. Such threshold range was calculated based on the cost-range of the functional network that satisfied the small-world network assumption [33, 46]. Then, the global- and nodal-level topological properties of each of the 284 functional brain networks were calculated. In each subject, the variance of each topological property was calculated over the 284 time points in the overall scan duration and over the 79 task stimulation-related time points based on the generated temporal mask. The group average of network topological properties was then calculated. In addition, variances of the network properties calculated over the full scan duration were compared with those calculated based on the generated temporal mask, using paired sample t-test, with a threshold of significance at α≤ 0.05.

Results and discussion

As an example of visualization, Fig 6 illustrated group averages of the global-level topological properties generated from our testing samples, including the network global efficiency, network local efficiency, network clustering coefficient, network average degree, characteristic path length, and small world coefficient, respectively. We observed decreased characteristic path length and increased network global efficiency, network local efficiency, network clustering coefficient, and network average degree in the functional brain network during both rest-to-task and task-to-rest transition periods, while a relatively steady state of these topological properties in the middle of the task blocks. Such pattern of task stimulation-related FC dynamics has also been observed in other studies [26, 4749]. The small world coefficient of the functional network over all time points were within the range of 1.6 to 2.8, as shown in Fig 6F, which has been observed as a typical small world coefficient range for common neural networks in both humans and animals [50, 51]. In addition, all the global topological properties showed significantly lower variances during the task stimulation-related period covered by the temporal mask, when compared to those estimated over the entire scan duration (the network global efficiency (t = 2.282, p = 0.028), network local efficiency (t = 2.223, p = 0.032), network clustering coefficient (t = 2.235, p = 0.031), network averaged degree (t = 2.529, p = 0.016), and characteristic path length (t = 3.989, p<0.001)). Indeed, superior topological stability of the functional brain network during task performance relative to that during resting state has also been reported by other studies [52, 53].

thumbnail
Fig 6. Group averages of the network global properties.

Each global property was averaged over the first 4 task blocks (the solid blue line). The light blue shadowed area represents the standard error of the mean of each property. The task condition is plotted using dashed black line. The estimated hemodynamic response over the testing period is plotted using dotted red line. The task stimulation-related period defined using the task design module is shadowed in light green. (A) Network global efficiency. (B) Network local efficiency. (C) Network clustering coefficient. (D) Network average degree. (E) Characteristic path length. (F) Small world coefficient. (Vtask: Variance of the topological properties over the task-related period. Vall: Variance of the topological properties over the entire scan duration.).

https://doi.org/10.1371/journal.pone.0267456.g006

To illustrate the results of nodal-level topological properties and their dynamics, Fig 7 included group averages of the nodal global efficiency, nodal local efficiency, nodal degree, and betweenness centrality in the node of right middle frontal gyrus (MFG). Right MFG has been found to serve as a critical component in the visual sustained attention pathways and play key role in the dorsal and ventral attention networks [5456]. We observed that, relative to those over the entire scan duration, the variances of the nodal global efficiency and nodal degree of the right MFG were significantly reduced during the task stimulation-related (the nodal global efficiency (t = 2.269, p = 0.026) and nodal degree (t = 2.289, p = 0.024)), which suggests strong functional stability and significant involvement of the right MFG during sustained visual attention processing. These results are consistent with findings from previous fMRI studies that showed significant activations in right MFG during attention-related tasks [5658].

thumbnail
Fig 7. Group average of the nodal topological properties in right middle frontal gyrus.

Each nodal property was averaged over the first 4 task blocks (the solid blue line). The light blue shadowed area represents the standard error of the mean of each property. The task condition is plotted using dashed black line. The estimated hemodynamic response over the testing period is plotted using dotted red line. The task stimulation-related period defined using the task design module is shadowed in light green. (A) Nodal global efficiency. (B) Nodal local efficiency. (C) Nodal degree. (D) Betweenness centrality. (R_MFG: Right Middle Frontal Gyrus. Vtask: Variance of the topological properties over the task stimulation-related period. Vall: Variance of the topological properties over the entire scan duration.).

https://doi.org/10.1371/journal.pone.0267456.g007

Compared to the existing toolboxes that provide dynamic network analysis, GAT-FD toolbox is able to 1) bring extra flexibility in defining task-related time points for dynamic analysis; 2) integrate the calculation of network topological properties with dynamic network construction. On the bases of the initial pipelines provided in the current version of the GAT-FD toolbox, future work will focus on developing and including more alternative analytical techniques for characterizing the dynamics of FC and network properties.

Conclusion

In this study, we introduced an integrative MATLAB toolbox, GAT-FD, for analyzing the task-related dynamics of FC and topological properties of the functional brain networks for sensory and cognitive processes during task-based fMRI, especially for block-designed data. All the involved functions have been tested and validated using data collected from human subjects during task-based fMRI. The results demonstrated that the GAT-FD allows for effective and quantitative evaluations of the functional network properties and their dynamics during the entire fMRI scan or user-specified periods. The GAT-FD toolbox and user manual are freely available at https://www.nitrc.org/projects/gat_fd and https://centers.njit.edu/cnnl/gat_fd/.

References

  1. 1. Du Y, Fu Z, Calhoun VD. Classification and Prediction of Brain Disorders Using Functional Connectivity: Promising but Challenging. Front Neurosci. 2018;12:525. Epub 2018/08/22. pmid:30127711; PubMed Central PMCID: PMC6088208.
  2. 2. Power JD, Fair DA, Schlaggar BL, Petersen SE. The development of human functional brain networks. Neuron. 2010;67(5):735–48. Epub 2010/09/10. pmid:20826306; PubMed Central PMCID: PMC2941973.
  3. 3. Fornito A, Harrison BJ, Zalesky A, Simons JS. Competitive and cooperative dynamics of large-scale brain functional networks supporting recollection. Proc Natl Acad Sci U S A. 2012;109(31):12788–93. Epub 2012/07/19. pmid:22807481; PubMed Central PMCID: PMC3412011.
  4. 4. Bassett DS, Wymbs NF, Porter MA, Mucha PJ, Carlson JM, Grafton ST. Dynamic reconfiguration of human brain networks during learning. Proc Natl Acad Sci U S A. 2011;108(18):7641–6. Epub 2011/04/20. pmid:21502525; PubMed Central PMCID: PMC3088578.
  5. 5. Horovitz SG, Fukunaga M, de Zwart JA, van Gelderen P, Fulton SC, Balkin TJ, et al. Low frequency BOLD fluctuations during resting wakefulness and light sleep: a simultaneous EEG-fMRI study. Hum Brain Mapp. 2008;29(6):671–82. Epub 2007/06/29. pmid:17598166; PubMed Central PMCID: PMC6871022.
  6. 6. Hutchison RM, Womelsdorf T, Allen EA, Bandettini PA, Calhoun VD, Corbetta M, et al. Dynamic functional connectivity: promise, issues, and interpretations. Neuroimage. 2013;80:360–78. Epub 2013/05/28. pmid:23707587; PubMed Central PMCID: PMC3807588.
  7. 7. Preti MG, Bolton TA, Van De Ville D. The dynamic functional connectome: State-of-the-art and perspectives. Neuroimage. 2017;160:41–54. Epub 2016/12/31. pmid:28034766.
  8. 8. Rashid B, Damaraju E, Pearlson GD, Calhoun VD. Dynamic connectivity states estimated from resting fMRI Identify differences among Schizophrenia, bipolar disorder, and healthy control subjects. Front Hum Neurosci. 2014;8:897. Epub 2014/11/27. pmid:25426048; PubMed Central PMCID: PMC4224100.
  9. 9. Sakoglu U, Pearlson GD, Kiehl KA, Wang YM, Michael AM, Calhoun VD. A method for evaluating dynamic functional network connectivity and task-modulation: application to schizophrenia. MAGMA. 2010;23(5–6):351–66. Epub 2010/02/18. pmid:20162320; PubMed Central PMCID: PMC2891285.
  10. 10. Allen EA, Damaraju E, Plis SM, Erhardt EB, Eichele T, Calhoun VD. Tracking whole-brain connectivity dynamics in the resting state. Cereb Cortex. 2014;24(3):663–76. Epub 2012/11/14. pmid:23146964; PubMed Central PMCID: PMC3920766.
  11. 11. Hutchison RM, Morton JB. Tracking the Brain’s Functional Coupling Dynamics over Development. J Neurosci. 2015;35(17):6849–59. Epub 2015/05/01. pmid:25926460; PubMed Central PMCID: PMC6605187.
  12. 12. Gilbert N, Bernier RA, Calhoun VD, Brenner E, Grossner E, Rajtmajer SM, et al. Diminished neural network dynamics after moderate and severe traumatic brain injury. PLoS One. 2018;13(6):e0197419. Epub 2018/06/09. pmid:29883447; PubMed Central PMCID: PMC5993261 adherence to PLOS ONE policies on sharing data and materials.
  13. 13. Diez-Cirarda M, Strafella AP, Kim J, Pena J, Ojeda N, Cabrera-Zubizarreta A, et al. Dynamic functional connectivity in Parkinson’s disease patients with mild cognitive impairment and normal cognition. Neuroimage Clin. 2018;17:847–55. Epub 2018/03/13. pmid:29527489; PubMed Central PMCID: PMC5842729.
  14. 14. Fiorenzato E, Strafella AP, Kim J, Schifano R, Weis L, Antonini A, et al. Dynamic functional connectivity changes associated with dementia in Parkinson’s disease. Brain. 2019;142(9):2860–72. Epub 2019/07/08. pmid:31280293; PubMed Central PMCID: PMC6736370.
  15. 15. Esquivel J. DynaConn: A software for dynamic functional connectivity analysis of fMRI data: Texas A&M University-Commerce; 2014.
  16. 16. Liao W, Wu GR, Xu Q, Ji GJ, Zhang Z, Zang YF, et al. DynamicBC: a MATLAB toolbox for dynamic brain connectome analysis. Brain Connect. 2014;4(10):780–90. Epub 2014/08/02. pmid:25083734; PubMed Central PMCID: PMC4268585.
  17. 17. Whitfield-Gabrieli S, Nieto-Castanon A. Conn: a functional connectivity toolbox for correlated and anticorrelated brain networks. Brain Connect. 2012;2(3):125–41. Epub 2012/05/31. pmid:22642651.
  18. 18. Tobia MJ, Hayashi K, Ballard G, Gotlib IH, Waugh CE. Dynamic functional connectivity and individual differences in emotions during social stress. Hum Brain Mapp. 2017;38(12):6185–205. Epub 2017/09/25. pmid:28940859; PubMed Central PMCID: PMC6866845.
  19. 19. Gonzalez-Castillo J, Bandettini PA. Task-based dynamic functional connectivity: Recent findings and open questions. Neuroimage. 2018;180(Pt B):526–33. Epub 2017/08/07. pmid:28780401; PubMed Central PMCID: PMC5797523.
  20. 20. Tzourio-Mazoyer N, Landeau B, Papathanassiou D, Crivello F, Etard O, Delcroix N, et al. Automated anatomical labeling of activations in SPM using a macroscopic anatomical parcellation of the MNI MRI single-subject brain. Neuroimage. 2002;15(1):273–89. Epub 2002/01/05. pmid:11771995.
  21. 21. Fan L, Li H, Zhuo J, Zhang Y, Wang J, Chen L, et al. The Human Brainnetome Atlas: A New Brain Atlas Based on Connectional Architecture. Cereb Cortex. 2016;26(8):3508–26. Epub 2016/05/28. pmid:27230218; PubMed Central PMCID: PMC4961028.
  22. 22. Bullmore E, Fadili J, Maxim V, Sendur L, Whitcher B, Suckling J, et al. Wavelets and functional magnetic resonance imaging of the human brain. Neuroimage. 2004;23 Suppl 1:S234–49. Epub 2004/10/27. pmid:15501094.
  23. 23. Ginestet CE, Simmons A. Statistical parametric network analysis of functional connectivity dynamics during a working memory task. Neuroimage. 2011;55(2):688–704. Epub 2010/11/26. pmid:21095229.
  24. 24. Rosenthal G, Sporns O, Avidan G. Stimulus Dependent Dynamic Reorganization of the Human Face Processing Network. Cereb Cortex. 2017;27(10):4823–34. Epub 2016/09/14. pmid:27620978; PubMed Central PMCID: PMC6059134.
  25. 25. Braun U, Schafer A, Walter H, Erk S, Romanczuk-Seiferth N, Haddad L, et al. Dynamic reconfiguration of frontal brain networks during executive cognition in humans. Proc Natl Acad Sci U S A. 2015;112(37):11678–83. Epub 2015/09/02. pmid:26324898; PubMed Central PMCID: PMC4577153.
  26. 26. Di X, Fu Z, Chan SC, Hung YS, Biswal BB, Zhang Z. Task-related functional connectivity dynamics in a block-designed visual experiment. Front Hum Neurosci. 2015;9:543. Epub 2015/10/21. pmid:26483660; PubMed Central PMCID: PMC4588125.
  27. 27. Betzel RF, Byrge L, Esfahlani FZ, Kennedy DP. Temporal fluctuations in the brain’s modular architecture during movie-watching. Neuroimage. 2020;213:116687. Epub 2020/03/04. pmid:32126299; PubMed Central PMCID: PMC7165071.
  28. 28. Li R, Liao W, Yu Y, Chen H, Guo X, Tang YL, et al. Differential patterns of dynamic functional connectivity variability of striato-cortical circuitry in children with benign epilepsy with centrotemporal spikes. Hum Brain Mapp. 2018;39(3):1207–17. Epub 2017/12/06. pmid:29206330; PubMed Central PMCID: PMC6866449.
  29. 29. Spadone S, Della Penna S, Sestieri C, Betti V, Tosoni A, Perrucci MG, et al. Dynamic reorganization of human resting-state networks during visuospatial attention. Proc Natl Acad Sci U S A. 2015;112(26):8112–7. Epub 2015/06/17. pmid:26080395; PubMed Central PMCID: PMC4491799.
  30. 30. Shah LM, Cramer JA, Ferguson MA, Birn RM, Anderson JS. Reliability and reproducibility of individual differences in functional connectivity acquired during task and resting state. Brain Behav. 2016;6(5):e00456. Epub 2016/04/14. pmid:27069771; PubMed Central PMCID: PMC4814225.
  31. 31. Penny WD, Friston KJ, Ashburner JT, Kiebel SJ, Nichols TE. Statistical parametric mapping: the analysis of functional brain images: Elsevier; 2011.
  32. 32. Latora V, Marchiori M. Efficient behavior of small-world networks. Phys Rev Lett. 2001;87(19):198701. Epub 2001/11/03. pmid:11690461.
  33. 33. Watts DJ, Strogatz SH. Collective dynamics of ’small-world’ networks. Nature. 1998;393(6684):440–2. Epub 1998/06/12. pmid:9623998.
  34. 34. Newman MEJ. The Structure and Function of Complex Networks. SIAM Review. 2003;45(2):167–256.
  35. 35. Newman ME. Assortative mixing in networks. Phys Rev Lett. 2002;89(20):208701. Epub 2002/11/22. pmid:12443515.
  36. 36. Newman ME. Modularity and community structure in networks. Proc Natl Acad Sci U S A. 2006;103(23):8577–82. Epub 2006/05/26. pmid:16723398; PubMed Central PMCID: PMC1482622.
  37. 37. Freeman LCJSn. Centrality in social networks conceptual clarification. 1978;1(3):215–39.
  38. 38. Rubinov M, Sporns O. Complex network measures of brain connectivity: uses and interpretations. Neuroimage. 2010;52(3):1059–69. Epub 2009/10/13. pmid:19819337.
  39. 39. Oldfield RC. The assessment and analysis of handedness: the Edinburgh inventory. Neuropsychologia. 1971;9(1):97–113. Epub 1971/03/01. pmid:5146491.
  40. 40. Carskadon MA, Acebo C. A self-administered rating scale for pubertal development. J Adolesc Health. 1993;14(3):190–5. Epub 1993/05/01. pmid:8323929.
  41. 41. Wechsler D. Wechsler Abbreviated Scale of Intelligence–Second Edition (WASI-II). NCS Pearson. 2011.
  42. 42. Xia S, Foxe JJ, Sroubek AE, Branch C, Li X. Topological organization of the "small-world" visual attention network in children with attention deficit/hyperactivity disorder (ADHD). Front Hum Neurosci. 2014;8:162. Epub 2014/04/02. pmid:24688465; PubMed Central PMCID: PMC3960496.
  43. 43. Wu Z, Mazzola CA, Catania L, Owoeye O, Yaramothu C, Alvarez T, et al. Altered cortical activation and connectivity patterns for visual attention processing in young adults post-traumatic brain injury: A functional near infrared spectroscopy study. CNS Neurosci Ther. 2018;24(6):539–48. Epub 2018/01/24. pmid:29359534; PubMed Central PMCID: PMC6490005.
  44. 44. Smith SM, Jenkinson M, Woolrich MW, Beckmann CF, Behrens TE, Johansen-Berg H, et al. Advances in functional and structural MR image analysis and implementation as FSL. Neuroimage. 2004;23 Suppl 1:S208–19. Epub 2004/10/27. pmid:15501092.
  45. 45. Li X, Sroubek A, Kelly MS, Lesser I, Sussman E, He Y, et al. Atypical pulvinar-cortical pathways during sustained attention performance in children with attention-deficit/hyperactivity disorder. J Am Acad Child Adolesc Psychiatry. 2012;51(11):1197–207 e4. Epub 2012/10/30. pmid:23101745; PubMed Central PMCID: PMC3734849.
  46. 46. Sporns O, Honey CJ. Small worlds inside big brains. Proc Natl Acad Sci U S A. 2006;103(51):19219–20. Epub 2006/12/13. pmid:17159140; PubMed Central PMCID: PMC1748207.
  47. 47. Kwon S, Watanabe M, Fischer E, Bartels A. Attention reorganizes connectivity across networks in a frequency specific manner. Neuroimage. 2017;144(Pt A):217–26. Epub 2016/11/05. pmid:27732887.
  48. 48. Cole MW, Bassett DS, Power JD, Braver TS, Petersen SE. Intrinsic and task-evoked network architectures of the human brain. Neuron. 2014;83(1):238–51. Epub 2014/07/06. pmid:24991964; PubMed Central PMCID: PMC4082806.
  49. 49. Betti V, Della Penna S, de Pasquale F, Mantini D, Marzetti L, Romani GL, et al. Natural scenes viewing alters the dynamics of functional connectivity in the human brain. Neuron. 2013;79(4):782–97. Epub 2013/07/31. pmid:23891400; PubMed Central PMCID: PMC3893318.
  50. 50. Humphries MD, Gurney K, Prescott TJ. The brainstem reticular formation is a small-world, not scale-free, network. Proc Biol Sci. 2006;273(1585):503–11. Epub 2006/04/18. pmid:16615219; PubMed Central PMCID: PMC1560205.
  51. 51. Humphries MD, Gurney K. Network ’small-world-ness’: a quantitative method for determining canonical network equivalence. PLoS One. 2008;3(4):e0002051. Epub 2008/05/01. pmid:18446219; PubMed Central PMCID: PMC2323569.
  52. 52. Elton A, Gao W. Task-related modulation of functional connectivity variability and its behavioral correlations. Hum Brain Mapp. 2015;36(8):3260–72. Epub 2015/05/28. pmid:26015070; PubMed Central PMCID: PMC6869497.
  53. 53. Chen JE, Chang C, Greicius MD, Glover GH. Introducing co-activation pattern metrics to quantify spontaneous brain network dynamics. Neuroimage. 2015;111:476–88. Epub 2015/02/11. pmid:25662866; PubMed Central PMCID: PMC4386757.
  54. 54. Vossel S, Geng JJ, Fink GR. Dorsal and ventral attention systems: distinct neural circuits but collaborative roles. Neuroscientist. 2014;20(2):150–9. Epub 2013/07/10. pmid:23835449; PubMed Central PMCID: PMC4107817.
  55. 55. He BJ, Snyder AZ, Vincent JL, Epstein A, Shulman GL, Corbetta M. Breakdown of functional connectivity in frontoparietal networks underlies behavioral deficits in spatial neglect. Neuron. 2007;53(6):905–18. Epub 2007/03/16. pmid:17359924.
  56. 56. Fox MD, Corbetta M, Snyder AZ, Vincent JL, Raichle ME. Spontaneous neuronal activity distinguishes human dorsal and ventral attention systems. Proc Natl Acad Sci U S A. 2006;103(26):10046–51. Epub 2006/06/22. pmid:16788060; PubMed Central PMCID: PMC1480402.
  57. 57. Vossel S, Thiel CM, Fink GR. Cue validity modulates the neural correlates of covert endogenous orienting of attention in parietal and frontal cortex. Neuroimage. 2006;32(3):1257–64. Epub 2006/07/19. pmid:16846742.
  58. 58. Corbetta M, Kincade JM, Shulman GL. Neural systems for visual orienting and their relationships to spatial working memory. J Cogn Neurosci. 2002;14(3):508–23. Epub 2002/04/24. pmid:11970810.