[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/cpp-lln-lab/CPP_ROI/main.svg)](https://results.pre-commit.ci/latest/github/cpp-lln-lab/CPP_ROI/main) [![miss hit](https://img.shields.io/badge/code%20style-miss_hit-000000.svg)](https://misshit.org/) [![tests and coverage with matlab](https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/run_tests_matlab.yml/badge.svg)](https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/run_tests_matlab.yml) [![codecov](https://codecov.io/gh/cpp-lln-lab/CPP_ROI/branch/main/graph/badge.svg?token=8IoRQtbFUV)](https://codecov.io/gh/cpp-lln-lab/CPP_ROI) ![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square) [![DOI](https://zenodo.org/badge/349001542.svg)](https://zenodo.org/doi/10.5281/zenodo.6632692) # CPP ROI Set of Octave and Matlab functions, demos and scripts to help manage ROIs and to play nice with BIDS datasets. Mostly volume-based and SPM centric. For surface based and freesurfer ROIs see for example: - https://github.com/noahbenson/neuropythy ## Installation Download this repository and unzip the content where you want to install it. Or clone the repo. ```bash git clone https://github.com/cpp-lln-lab/CPP_ROI.git ``` Fire up Octave or Matlab and type ```matlab cd CPP_ROI % The following adds the relevant folders to your path. % This needs to be done once per session (your path will not be saved) initCppRoi ``` If you are using CPP_SPM, you got nothing to do as CPP_ROI is already installed as a submodule, and initialized when running `initCppSpm`. ### Dependencies | Dependencies | Used version | | --------------------------------------------------------------- | ------------ | | [Matlab](https://www.mathworks.com/products/matlab.html) | 20??? | | or [octave](https://www.gnu.org/software/octave/) | 4.? | | [SPM12](https://www.fil.ion.ucl.ac.uk/spm/software/spm12/) | v7487 | | [bids-matlab](https://github.com/bids-standard/bids-matlab.git) | >=0.1.0 | - Other dependencies (MarsBar) are shipped with CPP_ROI in the `lib` folder. ## Features - create ROI from probability maps - create ROI from atlas (see below) - create ROI filenames that are "BIDS-ish" - extract ROI with a given numerical label - extract ROI from one hemisphere - breaks a cluster image into several ROIs with each their own label ### Atlas - Can help generate ROI based on: - the SPM Anatomy toolbox (INSERT URL) - the SPM neuromorphometric atlas - neurosynth probability maps - A multi-modal parcellation of human cerebral cortex [@glasser2016] - the probabilistic maps of visual topography in human cortex [@wang2014] - https://scholar.princeton.edu/napl/resources - the probabilistic functional atlas of human occipito-temporal visual cortex [@rosenke2020] - [extended Human Connectome Project multimodal parcellation atlas](https://github.com/wayalan/HCPex.git) of the human cortex and subcortical areas [@huang2022] Also includes: - Yeo's 7 networks "atlas"
Marco Barilari
Marco Barilari

💻 📖 🤔
Remi Gau
Remi Gau

💻 📖 🚇 🎨 👀 🐛 ⚠️
Jeanne Caron-Guyon
Jeanne Caron-Guyon

🤔 📓
Iqra Shahzad
Iqra Shahzad

📓
Federica Falagiarda
Federica Falagiarda

🐛 📓
Ceren Battal
Ceren Battal

💻 👀 📓
Jacek Matuszewski
Jacek Matuszewski

🐛 📓
Ying Yang
Ying Yang

🐛 📓