OSCR

Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 89 lines · 3.2 KB · no license

  1. function aligned_condition_searchlight(data_directory, subject)
  2. load(fullfile(data_directory, subject, 'whole_brain_data.mat'))
  3. [a,x,y,z]=size(data(1).pav_volume);
  4. precision=3.2;
  5. x_coordinate=1:x;
  6. y_coordinate=1:y;
  7. z_coordinate=1:z;
  8. [xi, yi, zi] = ndgrid(x_coordinate, y_coordinate, z_coordinate);
  9. index=sub2ind( [x,y,z], xi(:), yi(:),zi(:));
  10. brain_indexes = [xi(:), yi(:), zi(:) index];
  11. training_pairs=[1,3;2,4;];
  12. testing_pairs=[1,3;2,4;5,10];
  13. training_data=[];
  14. training_numeric_label=[];
  15. for v=2:(length(data)-2)
  16. training_data=[training_data; data(v).pav_volume];
  17. training_numeric_label=[training_numeric_label;data(v).pav_numeric_label'];
  18. end
  19. testing_data=[];
  20. testing_numeric_label=[];
  21. for run=1:length(data)
  22. testing_data=[testing_data; data(run).test_volume];
  23. testing_numeric_label=[testing_numeric_label; data(run).test_numeric_label'];
  24. end
  25. training_subset=training_data(ismember(training_numeric_label,training_pairs(:)), :, :, :);
  26. training_subset_labels=training_numeric_label(ismember(training_numeric_label,training_pairs(:)));
  27. training_subset_labels_standardized=double(ismember(training_subset_labels,training_pairs(:,1)));
  28. testing_data=testing_data(ismember(testing_numeric_label,testing_pairs(:)), :, :, :);
  29. testing_numeric_label=testing_numeric_label(ismember(testing_numeric_label, testing_pairs));
  30. testing_numeric_label=double(ismember(testing_numeric_label, testing_pairs(:,1)));
  31. accuracy_array=nan(length(brain_indexes), 1);
  32. display(['Starting subject ' subject])
  33. parfor ind=1:length(index)
  34. iX=brain_indexes(ind,1);iY=brain_indexes(ind,2);iZ=brain_indexes(ind,3);
  35. voxel_distances_to_center=sqrt(sum((brain_indexes(:, 1:3)- [iX iY iZ]).^2, 2));
  36. within_radius_voxel=brain_indexes(voxel_distances_to_center<precision, 1:3);
  37. within_radius_voxel_indicies=sub2ind([x,y,z], within_radius_voxel(:,1), within_radius_voxel(:,2), within_radius_voxel(:,3));
  38. training_slab=training_subset(:,:);
  39. training_slab = training_slab(:, within_radius_voxel_indicies);
  40. testing_slab=testing_data(:,:);
  41. testing_slab = testing_slab(:, within_radius_voxel_indicies);
  42. nanVox=any(isnan(training_slab)) | any(isnan(testing_slab));
  43. zeroVox=any(training_slab==0) | any(testing_slab==0) ;
  44. if (sum(~nanVox & ~zeroVox))<10
  45. continue
  46. else
  47. label_1_mean=nanmean(training_slab(training_subset_labels_standardized==1,:), 1);
  48. label_2_mean=nanmean(training_slab(training_subset_labels_standardized==0,:), 1);
  49. mean_training_subset=[label_1_mean; label_2_mean];
  50. z_training_slab=zscore(mean_training_subset(:, (~nanVox & ~zeroVox)), 0, 2);
  51. z_testing_slab=zscore(testing_slab(:, (~nanVox & ~zeroVox)), 0, 2);
  52. distance_from_templates=pdist2(z_training_slab, z_testing_slab, 'correlation');
  53. test_matrix=[1-testing_numeric_label';testing_numeric_label'];
  54. accuracy=corr(distance_from_templates(:), test_matrix(:));
  55. accuracy_array(ind)=atanh(accuracy);
  56. end
  57. end
  58. decoding_volume=nan(x,y,z);
  59. decoding_volume(index)=accuracy_array;
  60. save(fullfile(data_directory, subject, 'decoded_whole_brain_volume.mat'), 'decoding_volume');

aligned_condition_searchlight.m, no license · at the source

Overview

Authors: Phillip P Witkowski1, Noelle Henein2, Nicole Moussa3, Geoffrey Schoenbaum1, Thorsten Kahnt1
ORCID iDs: Thorsten Kahnt
  1. National Institute on Drug Abuse Intramural Research Program, National Institutes of Health, Baltimore, Maryland, United States of America
  2. West Virginia School of Osteopathic Medicine, Lewisburg, West Virginia, United States of America
  3. Department of Psychology, University of Maryland, College Park, Maryland, United States of America
Journal: PLoS biology, volume 24, issue 7, article e3003829
Dates: received 9 February 2026; accepted 15 May 2026; published online 9 July 2026
Type: Research article · Language: English
License: none stated
Identifiers: DOI 10.1371/journal.pbio.3003829 · PMID 42424266 · PMCID PMC13349123 · OpenAlex W7167822084
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), cognitive (subfield)
Methods: Preprocessing, Connectivity, Statistics, fMRI & imaging, Single-unit activity, calcium imaging, Machine learning
MeSH: Choice Behavior*, Goals*, Prefrontal Cortex*, Reward*, Adult, Brain Mapping, Cues, Decision Making, Female, Humans, Magnetic Resonance Imaging, Male, Motivation, Nucleus Accumbens, Outcome Expectations (* major topic)
Topic: Neural and Behavioral Psychology Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Intramural NIH HHS (ZIA DA000587, ZIA DA000642)
Citations: cited by 1 paper (Europe PMC); 65 references in the paper
Notices: A comment on this paper has been published (42430285, from Europe PMC)

Abstract

The abstract is not reproduced here: the paper's license (none stated) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above.

OSF 24dkw

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: MATLAB (3), Jupyter (1)
Size: 14 files, 4 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: Statistics and Machine Learning Toolbox (3 files), Matplotlib (1 file), NiBabel (1 file), Nilearn (1 file), NumPy (1 file), pandas (1 file), SciPy (1 file), seaborn (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
4 files

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;
  • 4 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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

Code and data availability statement

The paper has a code and data availability statement. Its license (none stated) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1371/journal.pbio.3003829.

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, issue, pages, dates, 5 authors, 15 MeSH terms, 1 funder, 64 references, 1 integrity notice.

Cite

This paper

Witkowski, P. P., Henein, N., Moussa, N., Schoenbaum, G., & Kahnt, T. (2026). Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices. PLoS biology, 24(7), e3003829. https://doi.org/10.1371/journal.pbio.3003829

BibTeX

@article{witkowski2026identity,
author = {Witkowski, Phillip P and Henein, Noelle and Moussa, Nicole and Schoenbaum, Geoffrey and Kahnt, Thorsten},
title = {{Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices}},
journal = {PLoS biology},
year = {2026},
month = jul,
volume = {24},
number = {7},
pages = {e3003829},
publisher = {PLOS},
issn = {1544-9173},
doi = {10.1371/journal.pbio.3003829},
url = {https://doi.org/10.1371/journal.pbio.3003829},
pmid = {42424266},
pmcid = {PMC13349123}
}

RIS

TY - JOUR
AU - Witkowski, Phillip P
AU - Henein, Noelle
AU - Moussa, Nicole
AU - Schoenbaum, Geoffrey
AU - Kahnt, Thorsten
TI - Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices
T2 - PLoS biology
J2 - PLoS Biol
PY - 2026
DA - 2026/07/09
VL - 24
IS - 7
SP - e3003829
SN - 1544-9173
PB - PLOS
DO - 10.1371/journal.pbio.3003829
UR - https://doi.org/10.1371/journal.pbio.3003829
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.pbio.3003829",
"type": "article-journal",
"title": "Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices",
"container-title": "PLoS biology",
"author": [
{
"family": "Witkowski",
"given": "Phillip P"
},
{
"family": "Henein",
"given": "Noelle"
},
{
"family": "Moussa",
"given": "Nicole"
},
{
"family": "Schoenbaum",
"given": "Geoffrey"
},
{
"family": "Kahnt",
"given": "Thorsten"
}
],
"container-title-short": "PLoS Biol",
"volume": "24",
"issue": "7",
"page": "e3003829",
"DOI": "10.1371/journal.pbio.3003829",
"PMID": "42424266",
"PMCID": "PMC13349123",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.pbio.3003829",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
9
]
]
}
}

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.1038/s41467-026-73001-7 [code]
Separable and integrated pleasantness coding for appetitive and aversive odors across olfactory and ventral prefrontal cortices.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, cognitive, 3 references, author Thorsten Kahnt
[2] doi:10.1038/s41597-026-07129-y [code]
Dataset of cortical and subcortical single neuron activity during value-based tasks in macaque monkey.
Journal: Scientific data
In common: Statistics and Machine Learning Toolbox, pandas, SciPy, 2 other tools, 4 references
[3] doi:10.7554/elife.107933 [code]
Modality-agnostic decoding of vision and language from fMRI.
Journal: eLife
In common: Nilearn, statsmodels, NiBabel, 5 other tools, cognitive, 1 reference
[4] doi:10.1371/journal.pbio.3003755 [code]
Action information is integrated into entorhinal representations of conceptual space and is reflected in eye movements.
Journal: PLoS biology
In common: Nilearn, statsmodels, NiBabel, 5 other tools, cognitive, 1 reference
[5] doi:10.1002/acn3.70396 [code]
Memory and Resting-State Connectivity in Acute Transient Global Amnesia: A Case-Control fMRI Study.
Journal: Annals of clinical and translational neurology
In common: Nilearn, statsmodels, NiBabel, 5 other tools, cognitive, 1 reference
[6] doi:10.1038/s41467-026-76452-0 [code]
Music evokes shared neural representations of imagined narratives across sensory modalities.
Journal: Nature communications
In common: Nilearn, statsmodels, NiBabel, 6 other tools, cognitive
[7] doi:10.1038/s41467-026-75662-w [code]
Distinct Roles of Deep and Superficial Cortical Layers in Tone Prediction, Comparison, and Adaptation in Human Auditory Cortices.
Journal: Nature communications
In common: Nilearn, statsmodels, NiBabel, 6 other tools, cognitive
[8] doi:10.1038/s41467-026-72931-6 [code]
Three parsimonious spatiotemporal patterns in cerebellum reveal individual traits in function and behavior.
Journal: Nature communications
In common: Nilearn, statsmodels, NiBabel, 6 other tools, cognitive
[9] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: Nilearn, statsmodels, NiBabel, 6 other tools, cognitive
[10] doi:10.1162/imag.a.105 [code]
Right posterior theta reflects human parahippocampal phase resetting by salient cues during goal-directed navigation
Journal: n/a
In common: Nilearn, statsmodels, NiBabel, 6 other tools, cognitive

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

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