OSCR

Control of associative learning by the mediodorsal thalamus-orbitofrontal cortex circuit.

Code ↔ Paper

5 matches 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.

3 blocks of code here have 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 5 matches
  1. [1] § Results › MD-input-defined PV neurons regulate cue value selectivity and learning-related adaptations in OFC broad-spiking cells ↔ CodeAndDataForPopulation.zip/main_LeZW.m, lines 37 to 68 · score 0.78 · narrow spiking cells, cue SI intercepts, broad spiking cell, cue SI slopes, outcome SI slopes, learning mice · block oscr:b:7MN69XR54CQJT-G · Report a mismatch
  2. [2] § Results › MD projections to OFC support cue value selectivity and learning-related adaptations in the OFC ↔ CodeAndDataForPopulation.zip/main_LeZW.m, lines 37 to 68 · score 0.66 · narrow spiking cells, cue SI intercepts, broad spiking cells, cue SI slopes, outcome SI slopes, optotrode · block oscr:b:7MN69XR54CQJT-G · Report a mismatch
  3. [3] § Methods › Behavioral task ↔ CodeAndDataForExample.zip/Script_GLM_MDneu41.m, lines 157 to 245 · score 0.63 · Go cues, response window, triggered, duration, stimulus, delay · block oscr:b:2KRAZZPJEP406-X · Report a mismatch
  4. [4] § Results › Experience-dependent changes in MD and OFC neuronal responses ↔ CodeAndDataForPopulation.zip/GLM.m, lines 1 to 34 · score 0.60 · onset cue, lick rate, binary, encoding, event, stimulus · block oscr:b:PNANS4TYA7PH1-I · Report a mismatch
  5. [5] § Methods › Data analysis ↔ CodeAndDataForPopulation.zip/GLM.m, lines 1 to 34 · score 0.56 · onset cue, lick rate, event, GLM, CR, bins · block oscr:b:PNANS4TYA7PH1-I · 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 · 98 lines · 4 KB · CC-BY-4.0 · 2 matches

  1. %% main_LeZW.m
  2. % Main script for generating population result figures in the manuscript.
  3. % This script loads pre-processed data from Neuropixel recordings,
  4. % calcium imaging, and optogenetic experiments, and calls various
  5. % plotting functions to reproduce population results in Figures 3, 4, 5, and 7.
  6. %
  7. % Data files required:
  8. % - NP.mat : Neuropixel electrophysiology data (MD & OFC regions)
  9. % - Calcium.mat : MD neuron calcium imaging data
  10. % - Optotrode.mat : Optogenetic + OFC electrophysiology data
  11. %
  12. % Figure overview:
  13. % Figure 3 : population results of Neuropixel (NP) - CPD, CueSI slope, OutcomeSI slope/intercept
  14. % Figure 4 : population results of Calcium imaging - CueSI and OutcomeSI
  15. % Figure 5 : population results for the effect of MD axons inacivation on OFC neurons - Well-trained & Learning phase
  16. % Figure 7 : population results for the effect of PV neuoron inacivation on OFC broad-spiking cells - Well-trained & Learning phase
  17. %% Add script directory and all subdirectories to MATLAB path
  18. clear all;
  19. close all;
  20. mfPath = mfilename('fullpath');
  21. addpath(genpath(fileparts(mfPath)));
  22. %% Figure 3
  23. load('NP.mat');
  24. fig3c = plotNP_CPD(NP_MD,NP_OFC); % CPD analysis
  25. figure3l = plotNP_SlopeOfCueSI(NP_MD,NP_OFC); % cue SI analysis
  26. [fig3m,fig3n] = plotNP_SlopeIneterceptOfOutcomeSI_3periods(NP_MD,NP_OFC); % outcome SI analysis
  27. %% Figure 4
  28. load('Calcium.mat');
  29. fig4ef = plotCalcium_Cue(Calcium); % cue SI analysis
  30. fig4h = plotCalcium_OutcomeSI(Calcium); % outcome SI analysis
  31. %% Figure 5
  32. load('Optotrode.mat');
  33. % well-trained mice
  34. DI_nonsig_all = Fiber.WellTrain.Nonsig_off_on_all;
  35. DI_sig_all = Fiber.WellTrain.Sig_off_on_all;
  36. fig5de = plotOptotrode_FiberWellTrain(DI_nonsig_all,DI_sig_all,'all'); % laser-off vs laser-on DI (all cells)
  37. DI_nonsig_broad = Fiber.WellTrain.Nonsig_off_on_broad;
  38. DI_sig_broad = Fiber.WellTrain.Sig_off_on_broad;
  39. fig5g = plotOptotrode_FiberWellTrain(DI_nonsig_broad,DI_sig_broad,'broad'); % laser-off vs laser-on DI (broad-spiking cells)
  40. DI_nonsig_narrow = Fiber.WellTrain.Nonsig_off_on_narrow;
  41. DI_sig_narrow = Fiber.WellTrain.Sig_off_on_narrow;
  42. fig5i = plotOptotrode_FiberWellTrain(DI_nonsig_narrow,DI_sig_narrow,'narrow'); % laser-off vs laser-on DI (narrow-spiking cells)
  43. % learning mice
  44. CueSI_slope_all = Fiber.Learning.CueSI_slope_off_on_all;
  45. CueSI_slope_broad = Fiber.Learning.CueSI_slope_off_on_broad;
  46. CueSI_intercept_all = Fiber.Learning.CueSI_intercept_off_on_all;
  47. CueSI_intercept_broad = Fiber.Learning.CueSI_intercept_off_on_broad;
  48. % laser-off vs laser-on cue SI slope/intercept (all cells)
  49. fig5k = plotOptotrode_FiberLearningCue(CueSI_slope_all,CueSI_intercept_all,'all');
  50. % laser-off vs laser-on cue SI slope/intercept (broad-spiking cells)
  51. fig5l = plotOptotrode_FiberLearningCue(CueSI_slope_broad,CueSI_intercept_broad,'broad');
  52. OutcomeSI_slope_all = Fiber.Learning.OutcomeSI_slope_off_on_all;
  53. OutcomeSI_slope_broad = Fiber.Learning.OutcomeSI_slope_off_on_broad;
  54. % laser-off vs laser-on outcome SI slope/intercept (all cells)
  55. fig5n = plotOptotrode_FiberLearningOutcome(OutcomeSI_slope_all,'all');
  56. % laser-off vs laser-on outcome SI slope/intercept (broad-spiking cells)
  57. fig5o = plotOptotrode_FiberLearningOutcome(OutcomeSI_slope_broad,'broad');
  58. %% Figure 7
  59. % well-trained mice
  60. DI_nonsig_broad = PV.WellTrain.Nonsig_off_on_broad;
  61. DI_sig_broad = PV.WellTrain.Sig_off_on_broad;
  62. % laser-off vs laser-on DI (broad-spiking cells)
  63. fig7d = plotOptotrode_PVWellTrain(DI_nonsig_broad,DI_sig_broad,'broad');
  64. % learning mice
  65. CueSI_slope_off_on_broad = PV.Learning.CueSI_slope_off_on_broad;
  66. Intercept_slope_off_on_broad = PV.Learning.CueSI_intercept_off_on_broad;
  67. % laser-off vs laser-on cue SI slope/intercept (broad-spiking cells)
  68. fig7g = plotOptotrode_PVLearningCue(CueSI_slope_off_on_broad,Intercept_slope_off_on_broad);
  69. OutcomeSI_slope_broad = PV.Learning.OutcomeSI_slope_off_on_broad;
  70. % laser-off vs laser-on outcome SI slope/intercept (broad-spiking cells)
  71. fig7j = plotOptotrode_PVLearningOutcome(OutcomeSI_slope_broad);

main_LeZW.m, under CC-BY-4.0 · at the source

Overview

Authors: Ziwei Le1,2, Can Huang1,2, Wen Zhang1, Dechen Liu1, Jingyu Ren1,2, Haishan Yao1
  1. Institute of Neuroscience, State Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology, Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences, Shanghai, China
  2. University of Chinese Academy of Sciences, Beijing, China
Journal: Nature communications, volume 17, issue 1, article 9175
Dates: received 16 June 2025; accepted 17 July 2026; published online 28 July 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-76118-x · PMID 42660953 · PMCID PMC13522478 · OpenAlex W7171509333
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism), systems (subfield)
Methods: Spectral & time-frequency, Statistics, Smoothing, state filtering, decompositions, Evoked potentials, Connectivity, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: Cognitive neuroscience, Neural circuits
MeSH: Association Learning*, Mediodorsal Thalamic Nucleus*, Prefrontal Cortex*, Animals, Cues, Interneurons, Male, Mice, Mice, Inbred C57BL, Neural Pathways, Neurons, Odorants, Parvalbumins (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 92 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) 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, with 5 matches between paragraphs and lines of code.

Zenodo 21332049

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 3 files
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
22 files
At the source:

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it points to the authors' code: Zenodo 21332049

Read it in the paper: doi.org/10.1038/s41467-026-76118-x.

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;
  • 22 scripts, each with its path and the digest of its content;
  • 5 matches 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

No dataset and no data link were found in the paper.

Data availability statement

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • no repository, dataset or request procedure was recognized in it

Read it in the paper: doi.org/10.1038/s41467-026-76118-x.

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, 6 authors, 2 keywords, 13 MeSH terms, 90 references.

Cite

This paper

Le, Z., Huang, C., Zhang, W., Liu, D., Ren, J., & Yao, H. (2026). Control of associative learning by the mediodorsal thalamus-orbitofrontal cortex circuit. Nature communications, 17(1), 9175. https://doi.org/10.1038/s41467-026-76118-x

BibTeX

@article{le2026control,
author = {Le, Ziwei and Huang, Can and Zhang, Wen and Liu, Dechen and Ren, Jingyu and Yao, Haishan},
title = {{Control of associative learning by the mediodorsal thalamus-orbitofrontal cortex circuit}},
journal = {Nature communications},
year = {2026},
month = jul,
volume = {17},
number = {1},
pages = {9175},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-76118-x},
url = {https://doi.org/10.1038/s41467-026-76118-x},
pmid = {42660953},
pmcid = {PMC13522478}
}

RIS

TY - JOUR
AU - Le, Ziwei
AU - Huang, Can
AU - Zhang, Wen
AU - Liu, Dechen
AU - Ren, Jingyu
AU - Yao, Haishan
TI - Control of associative learning by the mediodorsal thalamus-orbitofrontal cortex circuit
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/07/28
VL - 17
IS - 1
SP - 9175
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-76118-x
UR - https://doi.org/10.1038/s41467-026-76118-x
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-76118-x",
"type": "article-journal",
"title": "Control of associative learning by the mediodorsal thalamus-orbitofrontal cortex circuit",
"container-title": "Nature communications",
"author": [
{
"family": "Le",
"given": "Ziwei"
},
{
"family": "Huang",
"given": "Can"
},
{
"family": "Zhang",
"given": "Wen"
},
{
"family": "Liu",
"given": "Dechen"
},
{
"family": "Ren",
"given": "Jingyu"
},
{
"family": "Yao",
"given": "Haishan"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "9175",
"DOI": "10.1038/s41467-026-76118-x",
"PMID": "42660953",
"PMCID": "PMC13522478",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-76118-x",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
28
]
]
}
}

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-025-58011-1 [code]
Mediodorsal thalamus regulates task uncertainty to enable cognitive flexibility.
Journal: Nature communications
In common: mouse, 13 references
[2] doi:10.1038/s41467-024-52289-3 [code]
Rapid context inference in a thalamocortical model using recurrent neural networks.
Journal: Nature communications
In common: systems, 11 references
[3] doi:10.1016/j.isci.2026.114828
Submedius thalamic inputs shape the presynaptic architecture of layer 5 orbitofrontal cortex in mice.
Journal: iScience
In common: mouse, 11 references
[4] doi:10.1152/jn.00456.2023
Two contrasting mediodorsal thalamic circuits target the mouse medial prefrontal cortex.
Journal: Journal of neurophysiology
In common: mouse, 10 references
[5] doi:10.1038/s42003-025-08329-9 [code]
The neural circuit mechanism for auditory responses in the mediodorsal thalamic nucleus of awake mice.
Journal: Communications biology
In common: systems, mouse, 8 references
[6] doi:10.1038/s41467-024-49652-9 [code]
Hippocampal and orbitofrontal neurons contribute to complementary aspects of associative structure.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, mouse, 8 references
[7] doi:10.1038/s41467-026-69330-2 [code]
Persistent representation of a prior schema in the orbitofrontal cortex facilitates learning of a conflicting schema.
Journal: Nature communications
In common: 8 references
[8] doi:10.1016/j.xcrm.2024.101802 [code]
A prefrontal thalamocortical readout for conflict-related executive dysfunction in schizophrenia.
Journal: Cell reports. Medicine
In common: Statistics and Machine Learning Toolbox, 8 references
[9] doi:10.1371/journal.pcbi.1010500 [code]
Thalamic regulation of frontal interactions in human cognitive flexibility.
Journal: PLoS computational biology
In common: 8 references
[10] doi:10.1038/s41467-024-50505-8 [code]
Distinct roles of monkey OFC-subcortical pathways in adaptive behavior.
Journal: Nature communications
In common: 7 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.1038/s41467-026-76118-x.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-76118-x)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-76118-x.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-76118-x
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-76118-x"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-76118-x.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.