Coder Social home page Coder Social logo

jrasero / predicting-icns Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 2.0 2.29 MB

Results and plots replications for paper in prediction of Intrinsic Connectivity Networks in task versus resting fMRI

License: GNU General Public License v3.0

Python 86.30% Shell 13.70%
scikitlearn-machine-learning keras-neural-networks resting-fmri task-fmri

predicting-icns's Introduction

Predicting functional networks from region connectivity profiles in task-based versus resting-state fMRI data

Description:

Code written in python and used for downloading and preprocessing the data and generating results and plots of the work:

Predicting functional networks from region connectivity profiles in task-based versus resting-state fMRI data
Javier Rasero, Hannelore Aerts, Marlis Ontivero Ortega, Jesus M. Cortes, Sebastiano Stramaglia, Daniele Marinazzo
bioRxiv 259077, that can be found in the link: https://doi.org/10.1371/journal.pone.0207385


Software Requirements:

python 2.7, numpy, pandas, scikit-learn, keras 2.0, nilearn, fsl and FIX

Usage:

Scripts have to be run in the following order (steps 1, 2 and 3 are to be run in a cluster given the time of computation):

  1. Download and preprocess resting fmri: sh shen_time_series_native_fmri_icafix.sh
  2. Download and preprocess motor task fmri: sh shen_time_series_native_task_icafix.sh
  3. Perform cross validation on task data: python cross_validation_main.py
  4. Train on task and predict on resting after best model selected from previous step: python test_resting.py
  5. Generate the plots (Figure 1 of the paper was included using Libreoffice Impress) python generate_main_plots.py and python generate_suppl_plots.py

Please do not hesitate to contact us for any issue running the code, suggestions and remarks to [email protected]

predicting-icns's People

Contributors

jrasero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.