Skip to content

Code for the paper Model sharing in the human medial temporal lobe

Notifications You must be signed in to change notification settings

summerfieldlab/Glitz_etal_2022_JNeurosci

Repository files navigation

Glitz_etal_2022_JNeurosci

Code for the paper Model sharing in the human medial temporal lobe ; Glitz, Juechems, Summerfield & Garrett; 2022 https://www.jneurosci.org/content/jneuro/42/27/5410.full.pdf

This repository contains analysis scripts/functions for all analyses detailed in the main text of the manuscript and most supplementary analyses.

Requirements: to run all scripts in this repository, you will need to have installed Matlab, Julia and R;

Data: behavioural data is available in this folder under data/behavioural_data/; if you want to look at the second level SPM maps or re-run the non-crossvalidated RSA analyses or the encoding model analysis, you will need to download the neural data from this repository https://osf.io/zvkj3/

Navigating this repository: this repository is split up into several subfolders, the names of which detail the type of analyses within each. Learning_model refers to the computational model used to compute subjective transition probabilities. Each analysis script should contain a header which will tell you which paths to change and which inputs are required if you want to run the code on your computer.

Other: the plots in Figures 3d and 4 are recreated when you run the function /multivariate_analyses/RSA_analyses/without crossvalidation/RSA_onset.m with the data for the different brain regions from OSF. The boxplot in Figure 5b can be recreated when running multivariate_analyses/RSA_analyses/without crossvalidation/RSA_outcome.m. Figure 6a and b can be recreated by running valence_plots.R

About

Code for the paper Model sharing in the human medial temporal lobe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published