Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 3.53 KB

README.md

File metadata and controls

77 lines (53 loc) · 3.53 KB

VariabilityEarlyVisualCortex

This repository contains all source code necessary to replicate our recent work entitled "Variability of visual field maps in human early extrastriate cortex challenges the canonical model of organization of V2 and V3" available on bioRxiv.

Table of Contents

Visualization and Reproducibility

For visualization and further analysis, we recommend using NeuroDesk:

  1. Clone this repository (or a forked version of this repository):
    git clone https://github.com/felenitaribeiro/VariabilityEarlyVisualCortex.git
  1. Download the available data at Balsa following these steps: https://www.neurodesk.org/tutorials/functional_imaging/connectomeworkbench/ and extract to ./matlab

Note that you only need the "Retinotopy_HCP_7T_181_Fit1.scene", "Retinotopy_HCP_7T_181_Fit2.scene", "Retinotopy_HCP_7T_181_Fit3.scene", and "Retinotopy_HCP_7T_181_fsaverage.scene" files.

  1. Set up your Matlab license following these steps: https://www.neurodesk.org/tutorials/programming/matlab/

This step is required to convert the "dscalar.nii" files to ".mat"

  1. Run our envPrep.sh script:
    bash ./envPrep.sh

This bash script includes data preparation and conda environment creation with required packages.

  1. Finally, you can launch our Jupyter notebook by double-clicking on maps-visualization.ipynb at ./notebooks/ on Jupyter lab:

Reproducibility of clusters

Given that the updated version of nilearn (in which we modified a few plotting functionalities) requires an updated version of scikit-learn, and unfortunately, the random seeds differ, to reproduce the same clusters we report in our manuscript, you will have to create a different conda environment to run the clustering analyses.

  1. Create a conda environment;
    conda create -n VariabilityEarlyVisualCortex_clustering python=3.6
    conda activate VariabilityEarlyVisualCortex_clustering
  1. Install the required packages that are available at requirements_clustering.txt:
    pip install -r requirements_clustering.txt
  1. To reproduce all our analyses, you may run our manuscript-experiments.ipynb Jupyter notebook at ./notebooks/.

Other resources

Intermediate files for fitting the linear mixed effect models using Jamovi and the .omv files themselves are available on OSF.

Citation

Please cite our manuscript if it was somewhat helpful for you 😉

@article {Ribeiro2022,
    author = {Fernanda L. Ribeiro and Ashley York and Elizabeth Zavitz and Steffen Bollmann and Marcello G. P. Rosa and Alexander M. Puckett},
    title = {Variability of visual field maps in human early extrastriate cortex challenges the canonical model of organization of V2 and V3},
    elocation-id = {2022.10.16.511648},
    year = {2023},
    doi = {10.1101/2022.10.16.511648},
    publisher = {Cold Spring Harbor Laboratory},
    URL = {https://www.biorxiv.org/content/early/2023/01/25/2022.10.16.511648},
    eprint = {https://www.biorxiv.org/content/early/2023/01/25/2022.10.16.511648.full.pdf},
    journal = {bioRxiv}
}

Contact

Fernanda Ribeiro <[email protected]>