Identity-specific reward expectations in orbitofrontal cortex guide goal-directed choices.
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
- function aligned_condition_searchlight(data_directory, subject)
- load(fullfile(data_directory, subject, 'whole_brain_data.mat'))
- [a,x,y,z]=size(data(1).pav_volume);
- precision=3.2;
- x_coordinate=1:x;
- y_coordinate=1:y;
- z_coordinate=1:z;
- [xi, yi, zi] = ndgrid(x_coordinate, y_coordinate, z_coordinate);
- index=sub2ind( [x,y,z], xi(:), yi(:),zi(:));
- brain_indexes = [xi(:), yi(:), zi(:) index];
- training_pairs=[1,3;2,4;];
- testing_pairs=[1,3;2,4;5,10];
- training_data=[];
- training_numeric_label=[];
- for v=2:(length(data)-2)
- training_data=[training_data; data(v).pav_volume];
- training_numeric_label=[training_numeric_label;data(v).pav_numeric_label'];
- end
- testing_data=[];
- testing_numeric_label=[];
- for run=1:length(data)
- testing_data=[testing_data; data(run).test_volume];
- testing_numeric_label=[testing_numeric_label; data(run).test_numeric_label'];
- end
- training_subset=training_data(ismember(training_numeric_label,training_pairs(:)), :, :, :);
- training_subset_labels=training_numeric_label(ismember(training_numeric_label,training_pairs(:)));
- training_subset_labels_standardized=double(ismember(training_subset_labels,training_pairs(:,1)));
- testing_data=testing_data(ismember(testing_numeric_label,testing_pairs(:)), :, :, :);
- testing_numeric_label=testing_numeric_label(ismember(testing_numeric_label, testing_pairs));
- testing_numeric_label=double(ismember(testing_numeric_label, testing_pairs(:,1)));
- accuracy_array=nan(length(brain_indexes), 1);
- display(['Starting subject ' subject])
- parfor ind=1:length(index)
- iX=brain_indexes(ind,1);iY=brain_indexes(ind,2);iZ=brain_indexes(ind,3);
- voxel_distances_to_center=sqrt(sum((brain_indexes(:, 1:3)- [iX iY iZ]).^2, 2));
- within_radius_voxel=brain_indexes(voxel_distances_to_center<precision, 1:3);
- within_radius_voxel_indicies=sub2ind([x,y,z], within_radius_voxel(:,1), within_radius_voxel(:,2), within_radius_voxel(:,3));
- training_slab=training_subset(:,:);
- training_slab = training_slab(:, within_radius_voxel_indicies);
- testing_slab=testing_data(:,:);
- testing_slab = testing_slab(:, within_radius_voxel_indicies);
- nanVox=any(isnan(training_slab)) | any(isnan(testing_slab));
- zeroVox=any(training_slab==0) | any(testing_slab==0) ;
- if (sum(~nanVox & ~zeroVox))<10
- continue
- else
- label_1_mean=nanmean(training_slab(training_subset_labels_standardized==1,:), 1);
- label_2_mean=nanmean(training_slab(training_subset_labels_standardized==0,:), 1);
- mean_training_subset=[label_1_mean; label_2_mean];
- z_training_slab=zscore(mean_training_subset(:, (~nanVox & ~zeroVox)), 0, 2);
- z_testing_slab=zscore(testing_slab(:, (~nanVox & ~zeroVox)), 0, 2);
- distance_from_templates=pdist2(z_training_slab, z_testing_slab, 'correlation');
- test_matrix=[1-testing_numeric_label';testing_numeric_label'];
- accuracy=corr(distance_from_templates(:), test_matrix(:));
- accuracy_array(ind)=atanh(accuracy);
- end
- end
- decoding_volume=nan(x,y,z);
- decoding_volume(index)=accuracy_array;
- save(fullfile(data_directory, subject, 'decoded_whole_brain_volume.mat'), 'decoding_volume');
aligned_condition_searchlight.m, no license · at the source
Overview
- National Institute on Drug Abuse Intramural Research Program, National Institutes of Health, Baltimore, Maryland, United States of America
- West Virginia School of Osteopathic Medicine, Lewisburg, West Virginia, United States of America
- Department of Psychology, University of Maryland, College Park, Maryland, United States of America
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
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
4 files
- analysis_scripts/
aligned_condition_search , MATLAB, 89 lineslight.m - analysis_scripts/
competing_condition_roi_ , MATLAB, 52 linesanalysis.m - analysis_scripts/
expectation_to_action_co , MATLAB, 62 linesrrelation_single_model.m - data and code for figures/
code_for_figure_replicat , Jupyter, 250 linesion.ipynb
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
- neurovault.org/
collections/ , at neurovault.org; found in “Data Availability”23697
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:
- it points to a dataset: neurovault.org/
collections/ 23697 - it points to the authors' code: OSF 24dkw
- it says that the data are available on request
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://
BibTeX
@article{witkowski2026id
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/
url = {https://
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/
VL - 24
IS - 7
SP - e3003829
SN - 1544-9173
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"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":
"volume": "24",
"issue": "7",
"page": "e3003829",
"DOI": "10.1371/
"PMID": "42424266",
"PMCID": "PMC13349123",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://
"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 communicationsIn 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 dataIn 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: eLifeIn 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 biologyIn 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 neurologyIn 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 communicationsIn 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 communicationsIn 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 communicationsIn 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 communicationsIn 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 navigationJournal: n/aIn 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 4 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:b2c2fe9f1d35e8aa…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
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.
