Data and code for paper titled "Threat expectation does not improve perceptual discrimination despite causing heightened priority processing in the frontoparietal network"
Both data and code are in MATLAB (tested on version 2020a), and formated as .csv file for JASP. Here is a guideline to the files/folders:
MATLAB folders:
-analysis_112123_submitted.m: analysis file that reproduces statistical tests and behavioral figures from the paper
-data_all folder: the raw data in .mat format
-helperFunctions folder: useful functions that are called by the analysis file
Stimulus Presentation folder: task code used for aversive conditioning and experimental task run in the MRI scanner
JASP folder:
Data files for Bayesian statistics run in JASP