Threat intensity shapes cortical engram architecture supporting remote memory retrieval.
The 3 matches
- [1] § Methods › Quantification and statistical analysis ↔ Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R, lines 1–40 · score 0.62 · random intercept, spine densities, multilevel, slice, model, variables
- [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–105 · score 0.61 · Predictor model, Spine volume, Spine length, Morphology, dendrites, Figure 6
- [3] § Results › Threat intensity gates engagement of the PL engram in remote memory expression ↔ Mitric-Beerens_etal_2026_NatCommun_Fig6_DataAnalysis.R, lines 1–40 · score 0.58 · remote memory retrieval, Threat intensity, engram, cells
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
R · 107 lines · 4.3 KB · no license · 3 matches
- ### Example Analysis Code - Mitric, Beerens et al., 2026.
- ### Threat intensity shapes cortical engram architecture supporting remote memory retrieval. Nature Communications
- ## FIG 6 - structural analysis
- #### set up R
- # clear existing workspace objects
- rm(list = ls())
- graphics.off()
- # set working directory to where the data file is located & results should be saved (change to your own directory)
- setwd("~/Documents/Spine analysis data")
- ### example analysis multilevel analysis
- ## on dendrite level
- # e.g. spine density, spine type density
- # exchange dendrite_var1 for variable of interest
- df1 <- read.table("SpineDensity.csv", sep=";", dec=",", header=TRUE)
- #OR
- df1 <- read.table("SpineTypeDensity.csv", sep=";", dec=",", header=TRUE)
- # fixed intercept model
- var1_model0 <- glm(dendrite_var1 ~ 1, data = df1)
- summary(var1_model0)
- # random intercept model
- var1_model1 <- glmer(dendrite_var1 ~ 1 + (1 |animal), data = df1, family = Gamma(link="log"))
- summary(var1_model1)
- var1_model2 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice), data = df1, family = Gamma(link="log"))
- summary(var1_model2)
- var1_model3 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice_cell), data = df1, family = Gamma(link="log"))
- summary(var1_model3)
- var1_model4 <- glmer(dendrite_var1 ~ 1 + (1 |animal/animal_slice), data = df1, family = Gamma(link="log"))
- summary(var1_model4)
- var1_model5 <- glmer(dendrite_var1 ~ 1 + (1 |animal_slice/animal_slice_cell), data = df1, family = Gamma(link="log"))
- summary(var1_model5)
- var1_model6 <- glmer(dendrite_var1 ~ 1 + (1 |animal/animal_slice/animal_slice_cell), data = df1, family = Gamma(link="log"))
- summary(var1_model6)
- # Chi square test random intercept model with smallest AIC vs fixed intercept model
- anova(var1_modelx, var1_model0, test="Chisq")
- # if sig, continue with predictor model
- # predictor model
- # adjust random_intercept
- var1_model7 <- glmer(dendrite_var1 ~ 1 + engram_status + (1 |random_intercept), data = df1,family = Gamma(link="log"))
- summary(var1_model7)
- # Chi square test predictor model vs random intercept model
- anova(var1_model7, var1_modelx, test="Chisq")
- emmeans(var1_model7, pairwise ~ engram_status, adjust = "fdr")
- ## on spine level
- # e.g. spine volume, spine length
- # exchange spine_var2 for variable of interest
- df2 <- read.table("Morphology.csv", sep=";", dec=",", header=TRUE)
- # fixed intercept model
- var2_model0 <- glm(spine_var2 ~ 1, data = df2, family = Gamma(link="log"))
- summary(var2_model0)
- # random intercept model
- var2_model1 <- glmer(spine_var2 ~ 1 + (1 |animal), data = df2, family = Gamma(link="log"))
- summary(var2_model01)
- var2_model2 <- glmer(spine_var2 ~ 1 + (1 |animal_slice), data = df2, family = Gamma(link="log"))
- summary(var2_model02)
- var2_model3 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell), data = df2, family = Gamma(link="log"))
- summary(var2_model03)
- var2_model4 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
- summary(var2_model04)
- var2_model5 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice), data = df2, family = Gamma(link="log"))
- summary(var2_model05)
- var2_model6 <- glmer(spine_var2 ~ 1 + (1 |animal_slice/animal_slice_cell), data = df2, family = Gamma(link="log"))
- summary(var2_model06)
- var2_model7 <- glmer(spine_var2 ~ 1 + (1 |animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
- summary(var2_model07)
- var2_model8 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice/animal_slice_cell), data = df2, family = Gamma(link="log"))
- summary(var2_model08)
- var2_model9 <- glmer(spine_var2 ~ 1 + (1 |animal_slice/animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
- summary(var2_model09)
- var2_model10 <- glmer(spine_var2 ~ 1 + (1 |animal/animal_slice/animal_slice_cell/animal_slice_cell_dendrite), data = df2, family = Gamma(link="log"))
- summary(var2_model10)
- # Chi square test random intercept model with smallest AIC vs fixed intercept model
- anova(var2_model07, var2_model0, test="Chisq")
- # if sig, continue with predictor model
- # predictor model
- # adjust random_intercept
- var2_model11 <- glmer(spine_var2 ~ 1 + engram_status + (1 |random_intercept), data = df2,family = Gamma(link="log"))
- summary(var2_model11)
- # Chi square test predictor model vs random intercept model
- anova(var2_model11, var2_model07, test="Chisq")
- 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
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
5e6410391e0a92988c37df39c3ea435bd96af058, 17 September 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
49 files
- Packages/
doc/ , Python, 80 linesconf.py - tools/
autorun-test.sh , Shell, 69 lines - tools/
build-documentation.sh , Shell, 156 lines - tools/
check-code.sh , Shell, 272 lines - tools/
clean_mies_installation. , Shell, 174 linessh - tools/
cleanup-dotfiles.sh , Shell, 26 lines - tools/
create-changelog.sh , Shell, 57 lines - tools/
create-installer.sh , Shell, 128 lines - tools/
create-release.sh , Shell, 85 lines - tools/
documentation/ , Shell, 23 linesrun.sh - tools/
ftp-upload/ , Shell, 18 linescompress-files.sh - tools/
ftp-upload/ , Shell, 88 linesdownload-files.sh - tools/
ftp-upload/ , Shell, 45 linesflatten-files.sh - tools/
ftp-upload/ , Shell, 63 linesupload-files.sh - tools/
functionprofiling.sh , Shell, 31 lines - tools/
gather-logfiles-and-cras , Shell, 34 lineshdumps.sh - tools/
get-changed-controls.sh , Shell, 35 lines - tools/
get-igor-path.sh , Shell, 49 lines - tools/
initial-repo-config.sh , Shell, 48 lines - tools/
installer/ , C++, 1,444 linesAccessControl/ Contrib/ AccessControl/ AccessControl.cpp - tools/
installer/ , C/C++, 83 linesAccessControl/ Contrib/ AccessControl/ nsis_ansi/ api.h - tools/
installer/ , C/C++, 74 linesAccessControl/ Contrib/ AccessControl/ nsis_ansi/ pluginapi.h - tools/
installer/ , C/C++, 83 linesAccessControl/ Contrib/ AccessControl/ nsis_unicode/ api.h - tools/
installer/ , C/C++, 214 linesAccessControl/ Contrib/ AccessControl/ nsis_unicode/ nsis_tchar.h - tools/
installer/ , C/C++, 101 linesAccessControl/ Contrib/ AccessControl/ nsis_unicode/ pluginapi.h - tools/
installer/ , C/C++, 14 linesAccessControl/ Contrib/ AccessControl/ resource.h - tools/
installer/ , C++, 348 linesShelllink/ Contrib/ ShellLink/ ShellLink.cpp - tools/
installer/ , C/C++, 83 linesShelllink/ Contrib/ ShellLink/ nsis_ansi/ api.h - tools/
installer/ , C/C++, 74 linesShelllink/ Contrib/ ShellLink/ nsis_ansi/ pluginapi.h - tools/
installer/ , C/C++, 83 linesShelllink/ Contrib/ ShellLink/ nsis_unicode/ api.h - tools/
installer/ , C/C++, 214 linesShelllink/ Contrib/ ShellLink/ nsis_unicode/ nsis_tchar.h - tools/
installer/ , C/C++, 101 linesShelllink/ Contrib/ ShellLink/ nsis_unicode/ pluginapi.h - tools/
installer/ , C, 42 linesnsis/ Examples/ Plugin/ exdll.c - tools/
installer/ , C/C++, 85 linesnsis/ Examples/ Plugin/ nsis/ api.h - tools/
installer/ , C/C++, 229 linesnsis/ Examples/ Plugin/ nsis/ nsis_tchar.h - tools/
installer/ , C/C++, 108 linesnsis/ Examples/ Plugin/ nsis/ pluginapi.h - tools/
nextFreePRNumber.sh , Shell, 30 lines - tools/
nwb-read-tests/ , Python, 119 linesnwbv2-read-test.py - tools/
nwb-read-tests/ , Shell, 29 linesrun.sh - tools/
pre-commit/ , Shell, 36 linesrun.sh - tools/
publish-docs-on-github.s , Shell, 70 linesh - tools/
report-generator/ , Shell, 119 linesbuild.sh - tools/
run-ipt.sh , Shell, 29 lines - tools/
sign-installer.sh , Shell, 98 lines - tools/
upload-github-release-as , Shell, 146 linesset-helper.sh - tools/
upload-github-release-as , Shell, 81 linesset.sh - tools/
verify-junit-files.sh , Shell, 32 lines - LICENSE, License, 32 lines
- README.md, Text, 100 lines
PantheaNemat/Mitric-Beerens_etal_2026_Nat.Commun
Availability: 1 check, the latest on 27 September 2026: the link is dead
- 27 September 2026: the link is dead
Zenodo 19483826
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
1 file
- Mitric-Beerens_etal_2026
_NatCommun_Fig6_DataAnal , R, 107 linesysis.R
pantheanemat/mitric-beerens_etal_2026_nat.commun.
139c75d04b4a7e5ea12cf8c830932f553720eaa4, 25 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
2 files
- Mitric-Beerens_etal_2026
_NatCommun_Fig6_DataAnal , R, 107 lines, 3 matchesysis.R - README.md, Text, 27 lines
Code availability
Code used for spine analysis is available on Github(https://
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://
BibTeX
@article{mitric2026threa
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/
url = {https://
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/
VL - 17
IS - 1
SP - 7447
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "17",
"issue": "1",
"page": "7447",
"DOI": "10.1038/
"PMID": "42277042",
"PMCID": "PMC13408494",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"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 advancesIn common: mouse, 8 references, 4 authors
- [2] doi:10.1002/advs.202521254 [code]
- Persistently Increased Expression of PKMzeta and Unbiased Gene Expression Profiles Identify Hippocampal Molecular Traces of a Long-Term Active Place Avoidance Memory and "Shadow" Proteins.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: histology / microscopy, 5 references
- [3] doi:10.1038/s41593-026-02231-1 [code]
- The prefrontal cortex controls memory organization in the hippocampus.Journal: Nature neuroscienceIn common: mouse, 4 references
- [4] doi:10.3389/fncel.2026.1769317
- Transcriptomic signatures of hippocampal active place avoidance memory maintenance.Journal: Frontiers in cellular neuroscienceIn common: mouse, 4 references
- [5] doi:10.1126/sciadv.aec3961 [code]
- Linking functional and structural dendritic spine remodeling during fear learning and extinction in vivo.Journal: Science advancesIn common: histology / microscopy, cognitive, mouse, 2 references
- [6] doi:10.1038/s41467-026-77318-1 [code]
- Offline generative network reconfiguration guides insight-like accelerated learning by assimilation into schema in rats.Journal: Nature communicationsIn common: 3 references
- [7] doi:10.7554/elife.110588 [code]
- Opening the black box toward a modular approach to spike sorting.Journal: eLifeIn common: Neurodata Without Borders (PyNWB, MatNWB), h5py, mouse
- [8] doi:10.1038/s41467-026-76939-w [code]
- HIPPIE: a generative model for electrophysiological analysis across species, technologies, and modalities.Journal: Nature communicationsIn common: Neurodata Without Borders (PyNWB, MatNWB), h5py, mouse
- [9] doi:10.7554/elife.109717 [code]
- Retrosplenial cortex enables context-dependent goal-directed sensorimotor transformation.Journal: eLifeIn common: Neurodata Without Borders (PyNWB, MatNWB), h5py, mouse
- [10] doi:10.1038/s41592-026-03076-z [code]
- Neuropixels Opto: combining high-resolution electrophysiology and optogenetics.Journal: Nature methodsIn common: Neurodata Without Borders (PyNWB, MatNWB), h5py, mouse
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: 4 repositories of the authors' code, each at its verified commit and with its license, 49 scripts, and 3 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:d8e454c08fe13fda…
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
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
