Skip to content

hyemin-han/Prior-Adjustment-CBM

Repository files navigation

Please cite these publications:

Han, H. (2020). BayesFactorFMRI: Implementing Bayesian second-level fMRI analysis with multiple comparison correction and Bayesian meta-analysis of fMRI images with multiprocessing. Journal of Open Research Software. http://doi.org/10.5334/jors.328

Han, H. (2021). A method to adjust a prior distribution in Bayesian second-level fMRI analysis. PeerJ, 9. https://doi.org/10.7717/peerj.10861

If you used image-based meta-analysis, please also cite:

Han, H., & Park, J. (2019). Bayesian meta-analysis of fMRI image data. Cognitive Neuroscience, 10(2), 66–76. https://doi.org/10.1080/17588928.2019.1570103

Testing different meta-analyses for prior determination in voxelwise Bayesian second-level fMRI analysis

To test voxelwise Bayesian second-level fMRI with a prior distribution determined by meta-analysis, run "run_meta_test.py" Caution: before running the example run_meta_test.py listed below, modify "cores" variable according to the number of cores available on your system. For instance, if you intend to run the code with four cores (CPUs), then "cores = 4"

  1. Working memory

  • DeYoung et al. (2009)

  • Henson et al. (2002)

  • Pinho et al. (2020)

    • prior determination with image-based meta-analysis

      ./working_memory/IBM/HCP/run_meta_test.py

    • prior determination with BrainMap + Ginger ALE

      ./working_memory/BrainMap/HCP/run_meta_test.py

    • prior determination with NeuroQuery

      ./working_memory/NeuroQuery/HCP/run_meta_test.py

  1. Speech

  • prior determination with BrainMap + Ginger ALE

    ./Speech/BrainMap/HCP/run_meta_test.py

  • prior determination with NeuroQuery

    ./Speech/NeuroQuery/HCP/run_meta_test.py

  1. Face

  • prior determination with BrainMap + Ginger ALE

    ./Face/BrainMap/Gordon/run_meta_test.py

  • prior determination with NeuroQuery

    ./Face/NeuroQuery/Gordon/run_meta_test.py

Run your own analysis

Source code and required files are available ./src. First, copy all nii files (including mask.nii generated from frequentist analysis (e.g,. SPM)) into the same folder. Second, modify "./src/list.csv" to include names of all nii files to be analyzed. Third, modify C (mean contrast), N (noise strength; in this study, standard deviation of all analyzed voxels), R (proportion of significant voxels), cores values in ./src/run_meta_test.py. Fourth, run "run_meta_test.py"

About

Prior adjustment with coordinate-based meta-analysis for voxelwise Bayesian second-level fMRI analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published