OSCR

Threat intensity shapes cortical engram architecture supporting remote memory retrieval.

Code ↔ Paper

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

2 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 3 matches
  1. [1] § Methods › Quantification and statistical analysis ↔ Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R, lines 1 to 40 · score 0.62 · random intercept, spine densities, multilevel, slice, model, variables · block oscr:b:M5PTAWK1KFHM8-I · Report a mismatch
  2. [2] § Results › PL engram cells have more long thin spines than non-engram cells after mild CTC ↔ Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R, lines 42 to 105 · score 0.61 · Predictor model, Spine volume, Spine length, Morphology, dendrites, Figure 6 · block oscr:b:0MWJ3JFVCA26E-E · Report a mismatch
  3. [3] § Results › Threat intensity gates engagement of the PL engram in remote memory expression ↔ Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R, lines 1 to 40 · score 0.58 · remote memory retrieval, Threat intensity, engram, cells · block oscr:b:M5PTAWK1KFHM8-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

R · 107 lines · 4.3 KB · no license · 3 matches

  1. ### Example Analysis Code - Mitric, Beerens et al., 2026.
  2. ### Threat intensity shapes cortical engram architecture supporting remote memory retrieval. Nature Communications
  3. ## FIG 6 - structural analysis
  4. #### set up R
  5. # clear existing workspace objects
  6. rm(list = ls())
  7. graphics.off()
  8. # set working directory to where the data file is located & results should be saved (change to your own directory)
  9. setwd("~/Documents/Spine analysis data")
  10. ### example analysis multilevel analysis
  11. ## on dendrite level
  12. # e.g. spine density, spine type density
  13. # exchange dendrite_var1 for variable of interest
  14. df1 <- read.table("SpineDensity.csv", sep=";", dec=",", header=TRUE)
  15. #OR
  16. df1 <- read.table("SpineTypeDensity.csv", sep=";", dec=",", header=TRUE)
  17. # fixed intercept model
  18. var1_model0 <- glm(dendrite_var1 ~ 1, data = df1)
  19. summary(var1_model0)
  20. # random intercept model
  21. var1_model1 <- glmer(dendrite_var1 ~ 1 + (1 |animal), data = df1, family = Gamma(link="log"))
  22. summary(var1_model1)
  23. var1_model2 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice), data = df1, family = Gamma(link="log"))
  24. summary(var1_model2)
  25. var1_model3 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice_cell), data = df1, family = Gamma(link="log"))
  26. summary(var1_model3)
  27. var1_model4 <- glmer(dendrite_var1 ~ 1 + (1 |animal/animal_slice), data = df1, family = Gamma(link="log"))
  28. summary(var1_model4)
  29. var1_model5 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice/animal_slice_cell), data = df1, family = Gamma(link="log"))
  30. summary(var1_model5)
  31. var1_model6 <- glmer(dendrite_var1 ~ 1 + (1 |animal/animal_slice/animal_slice_cell), data = df1, family = Gamma(link="log"))
  32. summary(var1_model6)
  33. # Chi square test random intercept model with smallest AIC vs fixed intercept model
  34. anova(var1_modelx, var1_model0, test="Chisq")
  35. # if sig, continue with predictor model
  36. # predictor model
  37. # adjust random_intercept
  38. var1_model7 <- glmer(dendrite_var1 ~ 1 + engram_status + (1 |random_intercept), data = df1,family = Gamma(link="log"))
  39. summary(var1_model7)
  40. # Chi square test predictor model vs random intercept model
  41. anova(var1_model7, var1_modelx, test="Chisq")
  42. emmeans(var1_model7, pairwise ~ engram_status, adjust = "fdr")
  43. ## on spine level
  44. # e.g. spine volume, spine length
  45. # exchange spine_var2 for variable of interest
  46. df2 <- read.table("Morphology.csv", sep=";", dec=",", header=TRUE)
  47. # fixed intercept model
  48. var2_model0 <- glm(spine_var2 ~ 1, data = df2, family = Gamma(link="log"))
  49. summary(var2_model0)
  50. # random intercept model
  51. var2_model1 <- glmer(spine_var2 ~ 1 + (1 |animal), data = df2, family = Gamma(link="log"))
  52. summary(var2_model01)
  53. var2_model2 <- glmer(spine_var2 ~ 1 + (1 |animal_slice), data = df2, family = Gamma(link="log"))
  54. summary(var2_model02)
  55. var2_model3 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell), data = df2, family = Gamma(link="log"))
  56. summary(var2_model03)
  57. var2_model4 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
  58. summary(var2_model04)
  59. var2_model5 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice), data = df2, family = Gamma(link="log"))
  60. summary(var2_model05)
  61. var2_model6 <- glmer(spine_var2 ~ 1 + (1 |animal_slice/animal_slice_cell), data = df2, family = Gamma(link="log"))
  62. summary(var2_model06)
  63. var2_model7 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
  64. summary(var2_model07)
  65. var2_model8 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice/animal_slice_cell), data = df2, family = Gamma(link="log"))
  66. summary(var2_model08)
  67. var2_model9 <- glmer(spine_var2 ~ 1 + (1 |animal_slice/animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
  68. summary(var2_model09)
  69. var2_model10 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice/animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
  70. summary(var2_model10)
  71. # Chi square test random intercept model with smallest AIC vs fixed intercept model
  72. anova(var2_model07, var2_model0, test="Chisq")
  73. # if sig, continue with predictor model
  74. # predictor model
  75. # adjust random_intercept
  76. var2_model11 <- glmer(spine_var2 ~ 1 + engram_status + (1 |random_intercept), data = df2,family = Gamma(link="log"))
  77. summary(var2_model11)
  78. # Chi square test predictor model vs random intercept model
  79. anova(var2_model11, var2_model07, test="Chisq")
  80. emmeans(var2_model11, pairwise ~ engram_status, adjust = "fdr")

Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R at commit 139c75d, no license · at the source

Overview

Authors: Miodrag M. Mitrić1, Sanne Beerens1, Panthea Nemat1, Esther Visser1, Luca Lorraine van Leeuwen1, Rolinka J. van der Loo1, August B. Smit1, Priyanka Rao-Ruiz1, Michel C. van den Oever1
  1. Department of Molecular and Cellular Neurobiology, Center for Neurogenomics and Cognitive Research, Amsterdam Neuroscience, Vrije Universiteit Amsterdam,Amsterdam, The Netherlands
Institutions: Vrije Universiteit Amsterdam (Netherlands)
Journal: Nature communications, volume 17, issue 1, article 7447
Dates: received 18 June 2025; accepted 29 May 2026; published online 11 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-74231-5 · PMID 42277042 · PMCID PMC13408494 · OpenAlex W7164379807
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: histology / microscopy (modality), mouse (organism), cognitive (subfield)
Methods: Spectral & time-frequency, Statistics, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: Fear conditioning, Spine regulation and structure
MeSH: Fear*, Memory, Long-Term*, Prefrontal Cortex*, Pyramidal Cells*, Animals, Chemogenetics, Conditioning, Classical, Dendrites, Dendritic Spines, Male, Mice, Mice, Inbred C57BL (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Netherlands Organisation for Scientific Research (016.168.313, 024.004.012)
Citations: not cited yet (Europe PMC); 55 references in the paper

Abstract

The strength of persistent threat memories depends on the intensity of an aversive experience. We combined engram tagging with chemogenetics, electrophysiology and spine analyses in male mice to identify how threat intensity, following mild or strong contextual threat conditioning (CTC), shapes physiological and structural properties of prelimbic cortex (PL) pyramidal neurons. PL engram cells selectively mediate retrieval of a mild remote threat memory, and develop neuroadaptations that are time-dependent, dendritic segment-specific, and modulated by threat intensity. Specifically, increased presynaptic release probability, together with reduced postsynaptic strength and spine size, developed regardless of threat intensity. However, addition of long thin spines occurred exclusively on oblique dendrites of engram neurons after mild CTC, aligning with the PL engram contribution to mild, but not strong, threat memory. Our findings reveal how threat intensity shapes cortical engram architecture, which is pivotal for understanding the neural representation of threat memory strength and persistence.

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 3 matches between paragraphs and lines of code.

AllenInstitute/MIES

License: BSD-2-Clause
State: the link answers, verified on 27 October 2026
Evidence: files inventoried
Commit: bf4ef8bf67afc06f0c3fb2f3469e07b8b4291b00, 27 October 2026
Languages: Shell (28), C/C++ (14), Python (2), C++ (2), C (1)
Size: 1,070 files, 47 scripts
Software Heritage: archived
Found in: the text, “Electrophysiological recordings and analysis”
Holds: README, license file, environment (tools/documentation/Dockerfile, tools/documentation/requirements.in, tools/documentation/requirements.txt, tools/ftp-upload/Dockerfile, tools/nwb-read-tests/Dockerfile, tools/nwb-read-tests/requirements.in, tools/nwb-read-tests/requirements.txt, tools/pre-commit/Dockerfile, tools/pre-commit/requirements.in, tools/pre-commit/requirements.txt, tools/report-generator/Dockerfile), tests, continuous integration, documentation
Not found: CITATION.cff
Availability: 2 checks, the latest on 27 October 2026: the link answers
  • 27 October 2026: the link answers
  • 27 September 2026: the link answers
49 files

PantheaNemat/Mitric-Beerens_etal_2026_Nat.Commun

License: none: the authors keep all their rights
State: the link is dead, verified on 27 September 2026
Evidence: found in the paper
Software Heritage: not archived
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 is dead
  • 27 September 2026: the link is dead

Zenodo 19483826

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: R (1)
Size: 2 files, 1 script
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)
1 file
At the source:

pantheanemat/mitric-beerens_etal_2026_nat.commun.

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 139c75d04b4a7e5ea12cf8c830932f553720eaa4, 25 May 2026
Languages: R (1)
Size: 2 files, 1 script
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
2 files

Code availability

Code used for spine analysis is available on Github(https://github.com/PantheaNemat/Mitric-Beerens_etal_2026_Nat.Commun.) and Zenodo (10.5281/zenodo.19483826).

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

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:

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

All behavioral, cellular, electrophysiological and structural data generated in this study are provided in the Source Data file. Source data are provided with this paper.

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, issue, pages, dates, 9 authors, 2 keywords, 12 MeSH terms, 1 funder, 55 references.

Cite

This paper

Mitrić, M. M., Beerens, S., Nemat, P., Visser, E., van Leeuwen, L. L., van der Loo, R. J., Smit, A. B., Rao-Ruiz, P., & van den Oever, M. C. (2026). Threat intensity shapes cortical engram architecture supporting remote memory retrieval. Nature communications, 17(1), 7447. https://doi.org/10.1038/s41467-026-74231-5

BibTeX

@article{mitric2026threat,
author = {Mitrić, Miodrag M. and Beerens, Sanne and Nemat, Panthea and Visser, Esther and van Leeuwen, Luca Lorraine and van der Loo, Rolinka J. and Smit, August B. and Rao-Ruiz, Priyanka and van den Oever, Michel C.},
title = {{Threat intensity shapes cortical engram architecture supporting remote memory retrieval}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7447},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-74231-5},
url = {https://doi.org/10.1038/s41467-026-74231-5},
pmid = {42277042},
pmcid = {PMC13408494}
}

RIS

TY - JOUR
AU - Mitrić, Miodrag M.
AU - Beerens, Sanne
AU - Nemat, Panthea
AU - Visser, Esther
AU - van Leeuwen, Luca Lorraine
AU - van der Loo, Rolinka J.
AU - Smit, August B.
AU - Rao-Ruiz, Priyanka
AU - van den Oever, Michel C.
TI - Threat intensity shapes cortical engram architecture supporting remote memory retrieval
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/06/11
VL - 17
IS - 1
SP - 7447
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-74231-5
UR - https://doi.org/10.1038/s41467-026-74231-5
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-74231-5",
"type": "article-journal",
"title": "Threat intensity shapes cortical engram architecture supporting remote memory retrieval",
"container-title": "Nature communications",
"author": [
{
"family": "Mitrić",
"given": "Miodrag M."
},
{
"family": "Beerens",
"given": "Sanne"
},
{
"family": "Nemat",
"given": "Panthea"
},
{
"family": "Visser",
"given": "Esther"
},
{
"family": "van Leeuwen",
"given": "Luca Lorraine"
},
{
"family": "van der Loo",
"given": "Rolinka J."
},
{
"family": "Smit",
"given": "August B."
},
{
"family": "Rao-Ruiz",
"given": "Priyanka"
},
{
"family": "van den Oever",
"given": "Michel C."
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "7447",
"DOI": "10.1038/s41467-026-74231-5",
"PMID": "42277042",
"PMCID": "PMC13408494",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-74231-5",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
11
]
]
}
}

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.1126/sciadv.adv3557 [code]
GRASPing experience-dependent protein expression signatures enriched for hippocampal engram cell synapses.
Journal: Science advances
In common: mouse, 8 references, 4 authors
[2] doi:10.1038/s41386-024-01825-2 [code]
Reactivation of encoding ensembles in the prelimbic cortex supports temporal associations.
Journal: Neuropsychopharmacology : official publication of the American College of Neuropsychopharmacology
In common: mouse, 8 references
[3] doi:10.1038/s41467-023-39718-5
Systems consolidation induces multiple memory engrams for a flexible recall strategy in observational fear memory in male mice.
Journal: Nature communications
In common: mouse, 8 references
[4] doi:10.1016/j.xpro.2023.102369 [code]
Activity-dependent labeling and manipulation of fentanyl-recruited striatal ensembles using ArcTRAP approach.
Journal: STAR protocols
In common: mouse, 7 references
[5] doi:10.1016/j.ynstr.2022.100459
Remote contextual fear retrieval engages activity from salience network regions in rats.
Journal: Neurobiology of stress
In common: 7 references
[6] doi:10.1016/j.cub.2023.07.042
Engram stability and maturation during systems consolidation.
Journal: Current biology : CB
In common: histology / microscopy, 7 references
[7] doi:10.1371/journal.pcbi.1013251 [code]
Learning, sleep replay and consolidation of contextual fear memories: A neural network model.
Journal: PLoS computational biology
In common: cognitive, 6 references
[8] doi:10.7554/elife.78542 [code]
Brain-wide screen of prelimbic cortex inputs reveals a functional shift during early fear memory consolidation.
Journal: eLife
In common: cognitive, mouse, 6 references
[9] doi:10.1371/journal.pbio.3003391 [code]
Extinction and subsequent updating of innate fear responses to a visual looming stimulus rely on hippocampus-dependent mechanisms.
Journal: PLoS biology
In common: mouse, 6 references
[10] doi:10.1002/hipo.70030 [code]
Combinative Protein Expression of Immediate Early Genes c-Fos, Arc, and Npas4 Along Aversive and Appetitive Experience-Related Neural Networks.
Journal: Hippocampus
In common: histology / microscopy, 6 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-74231-5.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-74231-5)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

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

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-74231-5"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-74231-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

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