This repository contains analysis code accompanying the paper Expectation dynamically routes sensory signals to control goal-directed actions.
The main analysis wrapper code is in analysis_pipeline.m, which calls other wrapper functions in the parent directory.
All code is run in MATLAB 2020b.