## ReadMe ##
This repository provides the data and analysis code from "Distractor ignoring is as effective as target enhancement when incidentally learned but not when explicitly cued." The manuscript is available at the linked PsyArXiv page.
### Experimental Code ###
Experimental materials are available in the `code` folder. Each experiment (Exp 1a, 1b, 2a, 2b) has its own folder, including the main .html script and dependent .js files, .css files, and in the `Images` folder, stimulus files.
### Data and Preprocessing ###
In the `Data_and_Preprocessing` directory has a subdirectory for each experiment. Each participant has a single .txt file in the `data` subfolder of their respective experiment. Preprocessing scripts (e.g., Exp1a_Preprocessing.Rmd) will combine behavioral data from all participants into a combined .csv file (e.g., exp1a_rawData.csv). The combined .csv files generated by the preprocessing R scripts (one per experiment) are what were used in all statistical analyses.
The key (variableKey.csv) for all post-processed variables (e.g, in exp1a_rawData.csv) describes each data column.
### Analyses and Figures ###
The single `Analyses_and_Figures` folder contains two .Rmd files. One (LearningvsCueEnhVsSupp_Analysis.Rmd) reproduces all statistical results from the mansuscript. The other (LearningvsCueEnhVsSupp_Figures.Rmd) generates all figures. They do this based on the four rawData.csv files, which are generated by code from the `Data_and_Preprocessing` folder. Schematic figures were created in PowerPoint, and significance marks in data figures were added in powerpoint. These are located in the Schematics.pptx file.