OSCR

Overt visual attention modulates decision-related signals in the frontal cortex.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

One block of code here has a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 1 match · it ties a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Materials and methods › Stimuli and tasks › Choice task ↔ Experiment Code/evAcc_prepEyelink.m, the whole file · a weak match · score 0.51 · eye tracker, Eyelink, calibrated, tracked · block oscr:b:A6A8BV2F1WFZP-O · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 112 lines · 4.2 KB · no license · 1 match

  1. function setup=evAcc_prepEyelink(setup,doWhat)
  2. switch doWhat
  3. case 'start'
  4. setup.el = EyelinkInitDefaults(setup.w);
  5. %Name the edf file
  6. setup.edfFileName =num2str(setup.subjID);
  7. % Initialization of the connection with the Eyelink Gazetracker.
  8. % exit program if this fails.
  9. if ~EyelinkInit() % Initializes Eyelink and Ethernet system. Returns: 0 if OK, -1 if error
  10. error('could not init connection to Eyelink')
  11. end;
  12. Eyelink('message','running evAcc_startup');
  13. % check the software version
  14. [v , vs] = Eyelink('GetTrackerVersion');
  15. %fprintf('Running experiment on a ''%s'' tracker.\n', vs);
  16. % eye_used = el.LEFT_EYE;
  17. % eye_used = Eyelink('EyeAvailable'); % get eye that's tracked
  18. % if eye_used == el.BINOCULAR; % if both eyes are tracked
  19. % eye_used = el.LEFT_EYE; % use left eye
  20. % end
  21. % open file to record data to
  22. status = Eyelink('openfile', setup.edfFileName);
  23. % open EDF file (auto recording? what's the results of this?)
  24. if status~=0
  25. fprintf('Cannot create EDF file ''%s'' ', setup.edfFileName);
  26. Eyelink('Shutdown');
  27. Screen('CloseAll');
  28. return;
  29. end
  30. % SET UP TRACKER CONFIGURATION
  31. % Setting the proper recording resolution, proper calibration type,
  32. % as well as the data file content;
  33. Eyelink('command', 'screen_pixel_coords = %ld %ld %ld %ld', 0, 0, setup.wRect(3)-1, setup.wRect(4)-1);
  34. Eyelink('message', 'DISPLAY_COORDS %ld %ld %ld %ld', 0, 0, setup.wRect(3)-1, setup.wRect(4)-1);
  35. % set calibration type.
  36. Eyelink('command', 'calibration_type = HV9');
  37. % set EDF file contents using the file_sample_data and
  38. % file-event_filter commands
  39. % set link data thtough link_sample_data and link_event_filter
  40. Eyelink('command', 'file_event_filter = LEFT,RIGHT,FIXATION,SACCADE,BLINK,MESSAGE,BUTTON,INPUT');
  41. Eyelink('command', 'link_event_filter = LEFT,RIGHT,FIXATION,SACCADE,BLINK,MESSAGE,BUTTON,INPUT');
  42. % add "HTARGET" to record possible target data for EyeLink Remote
  43. if sscanf(vs(12:end),'%f') >=4
  44. Eyelink('command', 'file_sample_data = LEFT,RIGHT,GAZE,HREF,AREA,HTARGET,GAZERES,STATUS,INPUT');
  45. Eyelink('command', 'link_sample_data = LEFT,RIGHT,GAZE,GAZERES,AREA,HTARGET,STATUS,INPUT');
  46. else
  47. Eyelink('command', 'file_sample_data = LEFT,RIGHT,GAZE,HREF,AREA,GAZERES,STATUS,INPUT');
  48. Eyelink('command', 'link_sample_data = LEFT,RIGHT,GAZE,GAZERES,AREA,STATUS,INPUT');
  49. end
  50. % Calibrate the eye tracker
  51. setup.el = EyelinkInitDefaults(setup.w);
  52. % setup the proper calibration foreground and background colors
  53. setup.el.backgroundcolour = setup.c.black;
  54. setup.el.foregroundcolour = setup.c.white;
  55. setup.el.msgfontcolour = setup.c.white;
  56. setup.el.calibrationtargetcolour = setup.c.white;
  57. % parameters are in frequency, volume, and duration
  58. % set the second value in each line to 0 to turn off the sound
  59. setup.el.cal_target_beep=[600 0 0.05];
  60. setup.el.drift_correction_target_beep=[600 0 0.05];
  61. setup.el.calibration_failed_beep=[400 0 0.25];
  62. setup.el.calibration_success_beep=[800 0 0.25];
  63. setup.el.drift_correction_failed_beep=[400 0 0.25];
  64. setup.el.drift_correction_success_beep=[800 0 0.25];
  65. % you must call this function to apply the changes from above
  66. EyelinkUpdateDefaults(setup.el);
  67. Eyelink('message','eyelink defaults updated');
  68. Eyelink('message','running calibration')
  69. EyelinkDoTrackerSetup(setup.el);
  70. setup.eye_used = Eyelink('eyeavailable');
  71. case 'stop'
  72. Eyelink('message','close and save file');
  73. Eyelink('CloseFile');
  74. Eyelink('ReceiveFile',setup.edfFileName,setup.folder.results ,1);
  75. Eyelink('ShutDown');
  76. end
  77. end

evAcc_prepEyelink.m, no license · at the source

Overview

Authors: Blair RK Shevlin1,2, Rachael Gwinn2, Aidan Makwana2, Ian Krajbich2,3,4
  1. Center for Computational Psychiatry, Icahn School of Medicine at Mount Sinai New York United States
  2. Department of Psychology, The Ohio State University Columbus United States
  3. Department of Economics, The Ohio State University Columbus United States
  4. Department of Psychology, University of California, Los Angeles Los Angeles United States
Journal: eLife, volume 14, article RP103846
Dates: published online 19 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.103846 · PMID 42616817 · PMCID PMC13489626 · OpenAlex W4409730546
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), cognitive (subfield)
Methods: Statistics, Connectivity, fMRI & imaging, Physiology & signal measures
Keywords: decision-making, drift diffusion model, economic, eye movements, value-based, visual attention, Human
MeSH: Attention*, Decision Making*, Frontal Lobe*, Visual Perception*, Adult, Eye-Tracking Technology, Female, Humans, Magnetic Resonance Imaging, Male, Prefrontal Cortex, Young Adult (* major topic)
Journal subjects: Neuroscience
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: cited by 1 paper (Europe PMC); 116 references in the paper

Abstract

When indicating a preference between two options, decision makers are thought to compare and accumulate evidence in an attention-guided process. Little is known about this process’s neural substrates or how visual attention affects the representations of accumulated evidence. We conducted a simultaneous eye-tracking and fMRI experiment in which human subjects gradually learnt about the value of two food-lotteries. With this design, we were able to extend decisions over a prolonged time-course, manipulate the temporal onset of evidence, and therefore, dissociate sampled and accumulated evidence. We observed inconsistent correlations of both sampled and accumulated evidence with activity in the ventromedial prefrontal cortex (vmPFC), the ventral striatum, and the intraparietal sulcus (IPS), and more consistent correlations of accumulated evidence with activity in the dorsolateral prefrontal cortex (dlPFC) and pre-supplementary motor area (pre-SMA). We also found that more gaze on an option increased its choice probability and that gaze consistently amplified accumulated-value signals above and beyond the non-gaze-modulated signals in the pre-SMA and partially in the dlPFC, providing novel evidence that visual attention has lasting effects on decision variables and suggesting that activity in the pre-SMA and dlPFC reflects gaze-weighted accumulated evidence. These results shed new light on the neural mechanisms underlying gaze-driven decision processes.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

OSF eyxvb

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (33), R (2)
Size: 137 files, 35 scripts
Software Heritage: not checked
Found in: “Data availability”
Holds: 1 notebook
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: SPM (14 files), Psychtoolbox (7 files), Parallel Computing Toolbox (2 files), Statistics and Machine Learning Toolbox (2 files), broom (1 file), FSL (1 file), ggplot2 (1 file), ggpubr (1 file), lme4 (1 file), lmerTest (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
35 files
At the source: osf.io/eyxvb/

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 35 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability

Experiment and analysis code as well as Behavioral and eye-tracking data are available on the Open Science Framework: https://osf.io/eyxvb/. fMRI data is available on Open Neuro: doi: https://doi.org/10.18112/openneuro.ds007305.v1.0.0.

The following datasets were generated:

ShevlinB GwinnR MakwanaA KrajbichI 2026Behavioral data from: Overt visual attention modulates decision-related signals in ventral and dorsal medial prefrontal cortexOpen Science Frameworkeyxvb10.7554/eLife.103846PMC1348962642616817

ShevlinB GwinnR MakwanaA KrajbichI 2026fMRI data from: Overt visual attention modulates decision-related signals in ventral and dorsal medial prefrontal cortexOpenNeuro10.18112/openneuro.ds007305.v1.0.0PMC1348962642616817

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 4 authors, 7 keywords, 12 MeSH terms, 115 references.

Cite

This paper

Shevlin, B. R., Gwinn, R., Makwana, A., & Krajbich, I. (2026). Overt visual attention modulates decision-related signals in the frontal cortex. eLife, 14, RP103846. https://doi.org/10.7554/elife.103846

BibTeX

@article{shevlin2026overt,
author = {Shevlin, Blair RK and Gwinn, Rachael and Makwana, Aidan and Krajbich, Ian},
title = {{Overt visual attention modulates decision-related signals in the frontal cortex}},
journal = {eLife},
year = {2026},
month = aug,
volume = {14},
pages = {RP103846},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.103846},
url = {https://doi.org/10.7554/elife.103846},
pmid = {42616817},
pmcid = {PMC13489626}
}

RIS

TY - JOUR
AU - Shevlin, Blair RK
AU - Gwinn, Rachael
AU - Makwana, Aidan
AU - Krajbich, Ian
TI - Overt visual attention modulates decision-related signals in the frontal cortex
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/08/19
VL - 14
SP - RP103846
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.103846
UR - https://doi.org/10.7554/elife.103846
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.103846",
"type": "article-journal",
"title": "Overt visual attention modulates decision-related signals in the frontal cortex",
"container-title": "eLife",
"author": [
{
"family": "Shevlin",
"given": "Blair RK"
},
{
"family": "Gwinn",
"given": "Rachael"
},
{
"family": "Makwana",
"given": "Aidan"
},
{
"family": "Krajbich",
"given": "Ian"
}
],
"container-title-short": "eLife",
"volume": "14",
"page": "RP103846",
"DOI": "10.7554/elife.103846",
"PMID": "42616817",
"PMCID": "PMC13489626",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.103846",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
19
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.3758/s13415-025-01285-1 [code]
People display consistent recency and primacy effects in behavior and neural activity across perceptual and value-based judgments.
Journal: Cognitive, affective & behavioral neuroscience
In common: Psychtoolbox, SPM, ggplot2, 1 other tool, cognitive, 18 references, author Ian Krajbich
[2] doi:10.1093/scan/nsag043 [code]
Attentional biases in self-control are associated with reward cue-related brain activity.
Journal: Social cognitive and affective neuroscience
In common: Parallel Computing Toolbox, SPM, Statistics and Machine Learning Toolbox, cognitive, 17 references
[3] doi:10.7554/elife.78205 [code]
Monkeys exhibit human-like gaze biases in economic decisions.
Journal: eLife
In common: cognitive, 20 references
[4] doi:10.1038/s41562-024-01971-z [code]
Common neural choice signals can emerge artefactually amid multiple distinct value signals.
Journal: Nature human behaviour
In common: lmerTest, lme4, ggplot2, 2 other tools, cognitive, 14 references
[5] doi:10.1038/s41467-025-66579-x [code]
The role of attention in multi attribute decision making.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, cognitive, 16 references
[6] doi:10.7554/elife.96997 [code]
Value construction through sequential sampling explains serial dependencies in decision making.
Journal: eLife
In common: Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, cognitive, 12 references
[7] doi:10.7554/elife.80667 [code]
A unified neural account of contextual and individual differences in altruism.
Journal: eLife
In common: cognitive, 11 references
[8] doi:10.1016/j.isci.2026.116047 [code]
Deciding to simulate: Cognitive mechanisms of predicting the decisions of others.
Journal: iScience
In common: lmerTest, lme4, ggplot2, 1 other tool, cognitive, 7 references
[9] doi:10.1162/imag.a.1184 [code]
Tracing the neural trajectories of evidence accumulation and motor preparation processes during voluntary decisions.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Psychtoolbox, broom, lmerTest, 3 other tools, cognitive, 6 references
[10] doi:10.1038/s41598-026-58866-4 [code]
A neurocognitive interactive activation model of semantic priming in lexical decisions.
Journal: Scientific reports
In common: lmerTest, lme4, ggplot2, 1 other tool, cognitive, 8 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.103846.svg)](https://openscicode.org/badge/doi/10.7554/elife.103846)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.103846.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.103846
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.103846"><img src="https://openscicode.org/badge/doi/10.7554/elife.103846.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.