Skip to main content

A Python package for functional ROI analyses of fMRI data

Project description

Documentation Status

The funROI (FUNctional Region Of Interest) toolbox is designed to provide robust analytic methods for fMRI data analyses that accommodate inter-subject variability in the precise locations of functional activations. Unlike conventional voxel-wise group analyses, this toolbox implements the subject-specific functional localization approach, which does not assume strict voxel correspondence across individuals (see, e.g., Saxe et al, 2006; Fedorenko et al, 2010).

doc/source/funROI-collage.png

Features

  • Parcel generation: generates parcels (brain masks) based on individual activation maps, which can serve as a spatial constraint for subsequent subject-level analyses. (This step can be skipped if you already have parcels of interest).

  • fROI definition: defines functional regions of interest (fROIs) by selecting a subset of functionally responsive voxels within predefined parcels.

  • Effect estimation: extracts average effect sizes for each subject-specific fROI.

  • Spatial correlation estimation: quantifies the similarity of within-subject activation patterns across conditions (within either a parcel or an fROI).

  • Spatial overlap estimation: calculates the overlap between parcels and/or fROIs from different subjects or definitions.

Installation

Install funROI via pip:

pip install funROI

Usage

For more details and examples, please refer to the full documentation at: https://funroi.readthedocs.io/en/latest/

Citation

If you use funROI in your work, please cite it as follows:

Gao, R., & Ivanova, A. A. (2025). funROI: A Python package for functional ROI analyses of fMRI data (Version 1.0.0). Figshare. https://doi.org/10.6084/m9.figshare.28120967

Acknowledgements

This toolbox implements the parcel definition, fROI definition, and fROI effect size estimation methods described in Fedorenko et al. (2010). It builds heavily on the spm_ss toolbox, which provides a Matlab-based implementation for fROI analyses. We thank Alfonso Nieto-Castañon and Ev Fedorenko for developing these methods.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funroi-1.0.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funroi-1.0.0-py2.py3-none-any.whl (38.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file funroi-1.0.0.tar.gz.

File metadata

  • Download URL: funroi-1.0.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for funroi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 22d791ffb373bbb06b5edbaf49eff355e6521e4d4d19288ce5ebf92a0b10b934
MD5 fd9498b7915e1765f0a36bc56946e84d
BLAKE2b-256 4cc25dd1dc446963e2bcbf4a2d664810a4f613e3bdaae7e025c0058ed6906050

See more details on using hashes here.

File details

Details for the file funroi-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: funroi-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for funroi-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bce684736d2c8d5a71d0dfd5cabce1bbfc3188c8f53d11501badd27e609e8c1a
MD5 015693c45ad8893948c7ea6d741f9306
BLAKE2b-256 61d0dc1f58e7e1c1263b46c323b94bc944950ce8fb08e4656c203d448e7197b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page