kaurao / eigenmodes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains the code for reconstructing brain activity patterns as described in the paper Pang et al. 2023, Nature.

We also test parcel- and parcel+connectome-based basis vectors in addition to the eigenmodes provided by Pang et al. In addition, randomzied task data (spin permutation and Moran randomization) is also tested.

Requirements

Data

We use the data as provided by Pang et al.

  • First clone the GitHub repo: https://github.com/NSBLab/BrainEigenmodes

  • copy files from https://osf.io/xczmp/

    • To BrainEigenmodes/data/empirical

      • S255_tfMRI_ALLTASKS_raw_lh.mat
      • S255_high-resolution_group_average_connectome_cortex_nomedial-lh.mat
    • To BrainEigenmodes/data/results

      • basis_connectome_density_matched_midthickness-lh_evec_200.mat
      • basis_connectome_EDR_midthickness-lh_evec_200.mat
      • basis_connectome_midthickness-lh_evec_200.mat
      • basis_geometric_midthickness-lh_evec_200.txt

Usage

About


Languages

Language:MATLAB 100.0%