Skip to content

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

2 watching

Forks

Repository files navigation

CaLLTiF: Causal Discovery from Whole Brain fMRI Data

Introduction

This repository contains Python codes used for data processing and simulations in the article titled "Whole-Brain Causal Discovery Using fMRI" by Arab, F., Ghassami, A., Jamalabadi, H., Peters, M. A. K., & Nozari, E. (2023). The repository includes two sets of experiments: one using simulated fMRI data and another using real resting-state fMRI data from the Human Connectome Project (HCP) dataset. Additionally, this package introduces the newly proposed causal discovery method called CaLLTiF, designed based on the PCMCI causal discovery method, which is suitable for whole-brain causal discovery.

Reference

The referenced paper for this work is "Whole-Brain Causal Discovery Using fMRI" by Arab, F., Ghassami, A., Jamalabadi, H., Peters, M. A. K., & Nozari, E. (2024). You can find the paper on bioRxiv at https://www.biorxiv.org/content/10.1101/2023.08.12.553067v3.

External Packages and Files

Before running the codes in this repository, ensure that the following Python packages are installed:

  • NumPy
  • SciPy
  • Matplotlib
  • Pandas
  • NetworkX
  • NiBabel
  • Seaborn
  • Importlib
  • Nilearn
  • scikit-learn
  • NetPlotBrain
  • mpl_toolkits.axes_grid1
  • CausalNex

Additionally, the following external packages are required:

Additionally, the following files need to be downloaded and made available to the Python codes (external packages and files should be placed in the "External Packages and Files" directory):

Data Availability

The Python codes in the "HCP Causality" directory assume that preprocessed HCP S1200 rsfMRI time series are available in the 'Data/HCP' subdirectory. The data is not included in this distribution but is publicly available at https://db.humanconnectome.org. The preprocessing pipeline is described in the Methods section of the referenced paper.

Similarly, the Python codes in the "Simulated fMRI Causality" directory assume that simulated fMRI time series are available in the "Data" directory. These are not included in this distribution but are publicly available at https://github.com/cabal-cmu/Feedback-Discovery.

Note

The provided code samples have been tested and executed on an Ubuntu 22.04.2 LTS system. If you intend to run the FASK method using the causal command Java software through a system command in Python code, please be aware that some modifications may be necessary to ensure compatibility with your system.

Contact Information

For any questions or issues related to this repository, please contact Fahimeh Arab at farab002@ucr.edu.

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages