OSCR

Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo.

Code ↔ Paper

2 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.

The 2 matches
  1. [1] § MATERIALS AND METHODS › Simulation of the biophysically detailed neural network model › Basic setting of the simulation ↔ orig/netParams.py, lines 872–937 · score 0.57 · NetPyNE, cell models, Python, cortical, PV, spike
  2. [2] § MATERIALS AND METHODS › Simulation of the biophysically detailed neural network model › Basic setting of the simulation ↔ seed_search/netParams.py, lines 868–933 · score 0.57 · NetPyNE, cell models, Python, cortical, PV, spike

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

Python · 937 lines · 50 KB · no license · 1 match

The registry keeps no copy of this file: its repository has no license, so its authors keep all their rights to it. Your browser shows it from its source, with JavaScript.

It can be read at the source: orig/netParams.py.

Overview

  1. School of Biomedical Sciences, LKS Faculty of Medicine, The University of Hong Kong, Hong Kong, China
  2. Advanced Biomedical Instrumentation Centre, Hong Kong Science Park, Shatin, New Territories, Hong Kong, China
  3. Department of Electrical and Electronic Engineering, The University of Hong Kong, Hong Kong, China
Institutions: University of Hong Kong (Hong Kong SAR China); Hong Kong Science and Technology Parks Corporation (Hong Kong SAR China)
Journal: Science advances, volume 12, issue 29, article eaec3961
Dates: received 18 September 2025; accepted 2 June 2026; published online 17 July 2026; in print July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1126/sciadv.aec3961 · PMID 42467781 · PMCID PMC13378561 · OpenAlex W7169527484
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: histology / microscopy (modality), mouse (organism), cognitive (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Connectivity, fMRI & imaging, Single-unit activity, calcium imaging
MeSH: Dendritic Spines*, Extinction, Psychological*, Fear*, Learning*, Neuronal Plasticity*, Animals, Male, Mice (* major topic)
Topic: Neuroscience and Neuropharmacology Research (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: National Natural Science Foundation of China (N_HKU735/21); Research Grants Council, University Grants Committee (C1024-22GF, C7074-21G, 17103922, C7011-24GF, 17108821, C7026-25G, 17102525); Innovation and Technology Commission; Health and Medical Research Fund (09200966); Li Ka Shing Faculty of Medicine, University of Hong Kong
Citations: not cited yet (Europe PMC); 84 references in the paper

Abstract

Structural plasticity of dendritic spines has been observed during different learning paradigms, but how the functional dynamics of dendritic spines changes with memory processing and how these patterns relate to structural plasticity and dendritic integration remain unclear. Here, we perform longitudinal functional and structural in vivo imaging of the frontal association cortex in mice subject to fear conditioning and extinction over several days. We show that fear learning induced responsive spines that are more likely to be synchronous and clustered, which are consolidated over the following days but attenuated by extinction. We develop a causal inference model demonstrating that the active spine calcium signals during fear learning prevent the spines from being eliminated while promoting the elimination of neighboring spines after memory consolidation. Furthermore, the dendritic responsive signal reveals a learning-dependent tone discrimination pattern that is correlated to spines’ structural remodeling. Our findings provide in vivo evidence consistent with functional-structural link of dendritic spines in a bidirectional learning paradigm.

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

Repositories

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

Zenodo 20301802

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data, code, and materials 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)

4768/reversible_spine_model

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 8edb39e800efb9af9fc2a80421d0de4267bdbab8, 2 September 2025
Languages: NEURON (455), Python (80), C/C++ (7)
Size: 794 files, 542 scripts
Software Heritage: not archived
Found in: “Data, code, and materials availability:”
Holds: README, environment (requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NEURON (511 files), NumPy (43 files), NetPyNE (37 files), Matplotlib (33 files), SciPy (24 files), Pillow (7 files), pandas (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
543 files, not copied: shown from their source

OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 8edb39e, when its fingerprint is the one OSCR verified. How this works.

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 542 scripts, each with its path and the digest of its content;
  • 2 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, code, and materials availability

This study did not generate new materials. All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/or the Supplemental Materials. The raw data files and simulation model codes have been deposited to Zenodo under the following accession DOI: https://doi.org/10.5281/zenodo.20301802. The simulation model codes used in this paper are also available in the following repository: https://github.com/4768/reversible_spine_model.git.

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 2, 28 September 2026

  • Funding: added National Natural Science Foundation of China: N_HKU735/21; Research Grants Council, University Grants Committee: C1024-22GF, C7074-21G, 17103922, C7011-24GF, 17108821, C7026-25G, 17102525; Innovation and Technology Commission; Health and Medical Research Fund: 09200966; Li Ka Shing Faculty of Medicine, University of Hong Kong

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 8 MeSH terms, 84 references.

Cite

This paper

Li, X., Zheng, Q., Wong, K. H. K., Wong, K. K. Y., & Lai, C. S. W. (2026). Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo. Science advances, 12(29), eaec3961. https://doi.org/10.1126/sciadv.aec3961

BibTeX

@article{li2026linking,
author = {Li, Xiaoyang and Zheng, Qiyu and Wong, Kim Hoi Kin and Wong, Kenneth Kin Yip and Lai, Cora Sau Wan},
title = {{Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo}},
journal = {Science advances},
year = {2026},
month = jul,
volume = {12},
number = {29},
pages = {eaec3961},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/sciadv.aec3961},
url = {https://doi.org/10.1126/sciadv.aec3961},
pmid = {42467781},
pmcid = {PMC13378561}
}

RIS

TY - JOUR
AU - Li, Xiaoyang
AU - Zheng, Qiyu
AU - Wong, Kim Hoi Kin
AU - Wong, Kenneth Kin Yip
AU - Lai, Cora Sau Wan
TI - Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/07/17
VL - 12
IS - 29
SP - eaec3961
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/sciadv.aec3961
UR - https://doi.org/10.1126/sciadv.aec3961
LA - en
ER -

CSL-JSON

{
"id": "10.1126/sciadv.aec3961",
"type": "article-journal",
"title": "Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo",
"container-title": "Science advances",
"author": [
{
"family": "Li",
"given": "Xiaoyang"
},
{
"family": "Zheng",
"given": "Qiyu"
},
{
"family": "Wong",
"given": "Kim Hoi Kin"
},
{
"family": "Wong",
"given": "Kenneth Kin Yip"
},
{
"family": "Lai",
"given": "Cora Sau Wan"
}
],
"container-title-short": "Sci Adv",
"volume": "12",
"issue": "29",
"page": "eaec3961",
"DOI": "10.1126/sciadv.aec3961",
"PMID": "42467781",
"PMCID": "PMC13378561",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://doi.org/10.1126/sciadv.aec3961",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
17
]
]
}
}

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.1016/j.celrep.2026.117793 [code]
Clustered inputs engage dendritic nonlinearities and calcium signaling to support efficient place-field formation in CA1 pyramidal neurons.
Journal: Cell reports
In common: NEURON, pandas, SciPy, 2 other tools, 14 references
[2] doi:10.1016/j.isci.2026.117010 [code]
Deep learning-assisted mapping of dendritic spines using sequential 2D two-photon calcium imaging.
Journal: iScience
In common: pandas, SciPy, Matplotlib, 1 other tool, histology / microscopy, 9 references
[3] doi:10.1038/s41467-026-77800-w [code]
Learning reorganizes dendritic and stabilizes axon initial segment inhibitory synapses in CA1 pyramidal neurons.
Journal: Nature communications
In common: mouse, 8 references
[4] doi:10.1126/sciadv.adz4123 [code]
Highly attenuated dendritic propagation of isolated synaptic potentials in vivo.
Journal: Science advances
In common: mouse, 8 references
[5] doi:10.7554/elife.108352 [code]
Analysis of dendritic input currents during place field dynamics.
Journal: eLife
In common: NEURON, pandas, Matplotlib, 1 other tool, 5 references
[6] doi:10.7554/elife.89629 [code]
Active dendrites enable robust spiking computations despite timing jitter.
Journal: eLife
In common: NEURON, pandas, Matplotlib, 1 other tool, 5 references
[7] doi:10.1073/pnas.2533168123 [code]
Dendritic morphology and synaptic nonlinearities enhance functional complexity in human cortical neurons.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: NEURON, pandas, SciPy, 2 other tools, 4 references
[8] doi:10.7554/elife.111876 [code]
Distinct sensorimotor encoding in tuft dendrites and somata associated with action, correction, and learning.
Journal: eLife
In common: Pillow, pandas, SciPy, 2 other tools, mouse, 3 references
[9] doi:10.1126/sciadv.aec4911 [code]
Dendritic shaft constrictions shape synaptic integration in neurons.
Journal: Science advances
In common: NEURON, pandas, SciPy, 2 other tools, mouse, 2 references
[10] doi: [code]
Going deeper with morphologically detailed neural networks by simulation-based gradient propagation
Journal: Frontiers in computational neuroscience
In common: NEURON, SciPy, Matplotlib, 1 other tool, 3 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.

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.