OSCR

Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL).

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 262 lines · 8 KB · MIT

  1. %% Code by Kenji J. Nishimura adapted from:
  2. % Code by David J. Barker for Morales Laboratory
  3. % "Barker, D. J. et al., (2017). Lateral preoptic
  4. % control of the lateral habenula through convergent glutamate and GABA
  5. % transmission. Cell reports, 21(7), 1757-1769."
  6. close all; clear all; clc;
  7. PROJECTPATH = uigetdir(pwd, ...
  8. 'Select the main project folder');
  9. SDKPATH = fullfile(PROJECTPATH, 'TDTMatlabSDK');
  10. addpath(genpath(SDKPATH));
  11. MAINEXAMPLEPATH = uigetdir(PROJECTPATH, ...
  12. 'Select the folder containing entire subject TDT blocks');
  13. DATAPATH = fullfile(MAINEXAMPLEPATH);
  14. STREAM_STORE1 = 'x405C';
  15. STREAM_STORE2 = 'x465C';
  16. TRANGE = [-5 35];
  17. BASELINE_PER = [-5 0];
  18. ARTIFACT = Inf;
  19. N = 50;
  20. NoStress_group = [];
  21. Stress_group = [];
  22. auc_NoStress = [];
  23. auc_Stress = [];
  24. avg_NoStress = [];
  25. avg_Stress = [];
  26. ts2 = [];
  27. subject_folders = dir(DATAPATH);
  28. subject_folders = subject_folders([subject_folders.isdir]);
  29. for i = 1:length(subject_folders)
  30. folder_name = subject_folders(i).name;
  31. if ismember(folder_name, {'.', '..'})
  32. continue;
  33. end
  34. BLOCKPATH = fullfile(DATAPATH, folder_name);
  35. if ~isfolder(BLOCKPATH)
  36. warning('Folder does not exist: %s', BLOCKPATH);
  37. continue;
  38. end
  39. data = TDTbin2mat(BLOCKPATH, 'TYPE', {'epocs', 'scalars', 'streams'});
  40. data.epocs.Manual.onset = [data.epocs.PC0_.onset(1) + 180, data.epocs.PC0_.onset(1) + 240, data.epocs.PC0_.onset(1) + 300];
  41. data.epocs.Manual.offset = data.epocs.Manual.onset + 30;
  42. data.epocs.Manual.data = ones(numel(data.epocs.Manual.onset), 1);
  43. data.epocs.Manual.name = 'Manual';
  44. data = TDTfilter(data, 'Manual', 'TIME', TRANGE);
  45. art1 = ~cellfun('isempty', cellfun(@(x) x(x>ARTIFACT), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false));
  46. art2 = ~cellfun('isempty', cellfun(@(x) x(x<-ARTIFACT), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false));
  47. good = ~art1 & ~art2;
  48. data.streams.(STREAM_STORE1).filtered = data.streams.(STREAM_STORE1).filtered(good);
  49. art1 = ~cellfun('isempty', cellfun(@(x) x(x>ARTIFACT), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false));
  50. art2 = ~cellfun('isempty', cellfun(@(x) x(x<-ARTIFACT), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false));
  51. good2 = ~art1 & ~art2;
  52. data.streams.(STREAM_STORE2).filtered = data.streams.(STREAM_STORE2).filtered(good2);
  53. minLength1 = min(cellfun('prodofsize', data.streams.(STREAM_STORE1).filtered));
  54. minLength2 = min(cellfun('prodofsize', data.streams.(STREAM_STORE2).filtered));
  55. data.streams.(STREAM_STORE1).filtered = cellfun(@(x) x(1:minLength1), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false);
  56. data.streams.(STREAM_STORE2).filtered = cellfun(@(x) x(1:minLength2), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false);
  57. allSignals405 = cell2mat(data.streams.(STREAM_STORE1).filtered');
  58. allSignals465 = cell2mat(data.streams.(STREAM_STORE2).filtered');
  59. F405 = zeros(size(allSignals405(:,1:N:end-N+1)));
  60. F465 = zeros(size(allSignals465(:,1:N:end-N+1)));
  61. for ii = 1:size(allSignals405,1)
  62. F405(ii,:) = arrayfun(@(i) mean(allSignals405(ii,i:i+N-1)),1:N:length(allSignals405)-N+1);
  63. F465(ii,:) = arrayfun(@(i) mean(allSignals465(ii,i:i+N-1)),1:N:length(allSignals465)-N+1);
  64. end
  65. ts2 = linspace(TRANGE(1), TRANGE(1) + TRANGE(2), size(F465, 2));
  66. bls = polyfit(F405(:), F465(:), 1);
  67. Y_fit_all = bls(1) .* F405 + bls(2);
  68. Y_dF_all = F465 - Y_fit_all;
  69. zall = zeros(size(Y_dF_all));
  70. ind = ts2 >= BASELINE_PER(1) & ts2 <= BASELINE_PER(2);
  71. for j = 1:size(Y_dF_all, 1)
  72. zb = mean(Y_dF_all(j, ind));
  73. zsd = std(Y_dF_all(j, ind));
  74. zall(j, :) = (Y_dF_all(j, :) - zb) / zsd;
  75. end
  76. mean_zall_subject = mean(zall);
  77. post_zero_indices = find(ts2 > 0);
  78. auc_subject = trapz(ts2(post_zero_indices), mean_zall_subject(post_zero_indices));
  79. average_post_zero = mean(mean_zall_subject(post_zero_indices));
  80. if startsWith(folder_name, 'N')
  81. NoStress_group = [NoStress_group; mean_zall_subject];
  82. auc_NoStress = [auc_NoStress; auc_subject];
  83. avg_NoStress = [avg_NoStress; average_post_zero];
  84. elseif startsWith(folder_name, 'S')
  85. Stress_group = [Stress_group; mean_zall_subject];
  86. auc_Stress = [auc_Stress; auc_subject];
  87. avg_Stress = [avg_Stress; average_post_zero];
  88. end
  89. intervals = [0 10; 10 20; 20 30 ];
  90. auc_intervals_NoStress = zeros(size(NoStress_group, 1), size(intervals, 1));
  91. auc_intervals_Stress = zeros(size(Stress_group, 1), size(intervals, 1));
  92. for i = 1:size(intervals, 1)
  93. start_time = intervals(i, 1);
  94. end_time = intervals(i, 2);
  95. indices = ts2 >= start_time & ts2 <= end_time;
  96. for j = 1:size(NoStress_group, 1)
  97. auc_intervals_NoStress(j, i) = trapz(ts2(indices), NoStress_group(j, indices));
  98. end
  99. end
  100. for i = 1:size(intervals, 1)
  101. start_time = intervals(i, 1);
  102. end_time = intervals(i, 2);
  103. indices = ts2 >= start_time & ts2 <= end_time;
  104. for j = 1:size(Stress_group, 1)
  105. auc_intervals_Stress(j, i) = trapz(ts2(indices), Stress_group(j, indices));
  106. end
  107. end
  108. end
  109. %% Plot values
  110. mean_NoStress = mean(NoStress_group, 1);
  111. std_NoStress = std(NoStress_group, 0, 1) / sqrt(size(NoStress_group, 1));
  112. mean_Stress = mean(Stress_group, 1);
  113. std_Stress = std(Stress_group, 0, 1) / sqrt(size(Stress_group, 1));
  114. mean_avg_NoStress = mean(avg_NoStress);
  115. std_avg_NoStress = std(avg_NoStress) / sqrt(length(avg_NoStress));
  116. mean_avg_Stress = mean(avg_Stress);
  117. std_avg_Stress = std(avg_Stress) / sqrt(length(avg_Stress));
  118. figure;
  119. color_NoStress = [0.5, 0.5, 0.5];
  120. color_Stress = [0.8500, 0.3250, 0.0980];
  121. XX = [ts2, fliplr(ts2)];
  122. YY = [mean_NoStress - std_NoStress, fliplr(mean_NoStress + std_NoStress)];
  123. plot(ts2, mean_NoStress, 'Color', color_NoStress, 'LineWidth', 2); hold on;
  124. fill(XX, YY, color_NoStress, 'FaceAlpha', 0.2, 'EdgeColor', 'none', 'HandleVisibility', 'off');
  125. YY = [mean_Stress - std_Stress, fliplr(mean_Stress + std_Stress)];
  126. plot(ts2, mean_Stress, 'Color', color_Stress, 'LineWidth', 2);
  127. fill(XX, YY, color_Stress, 'FaceAlpha', 0.2, 'EdgeColor', 'none', 'HandleVisibility', 'off');
  128. xlabel('Time, s');
  129. ylabel('Z-score');
  130. title('ToneTest2: Comparison of NoStress vs Stress Groups');
  131. legend({'NoStress', 'Stress'}, 'TextColor', 'black', 'FontSize', 10, 'Location', 'northeast');
  132. mean_auc_NoStress = mean(auc_NoStress);
  133. std_auc_NoStress = std(auc_NoStress) / sqrt(length(auc_NoStress));
  134. mean_auc_Stress = mean(auc_Stress);
  135. std_auc_Stress = std(auc_Stress) / sqrt(length(auc_Stress));
  136. figure;
  137. bar_data = [mean_auc_NoStress, mean_auc_Stress];
  138. bar_errors = [std_auc_NoStress, std_auc_Stress];
  139. bar_handle = bar(bar_data);
  140. bar_handle.FaceColor = 'flat';
  141. bar_handle.CData(1,:) = [0, 0.4470, 0.7410]; % blue for NoStress
  142. bar_handle.CData(2,:) = [0.8500, 0.3250, 0.0980]; % red for Stress
  143. hold on;
  144. errorbar(1:2, bar_data, bar_errors, 'k', 'LineStyle', 'none', 'LineWidth', 1.5);
  145. hold off;
  146. set(gca, 'xticklabel', {'NoStress', 'Stress'});
  147. ylabel('Area Under Curve (AUC)');
  148. title('Comparison of AUC between NoStress and Stress Groups');
  149. figure;
  150. bar_data_avg = [mean_avg_NoStress, mean_avg_Stress];
  151. bar_errors_avg = [std_avg_NoStress, std_avg_Stress];
  152. bar_handle_avg = bar(bar_data_avg);
  153. bar_handle_avg.FaceColor = 'flat';
  154. bar_handle_avg.CData(1,:) = [0, 0.4470, 0.7410]; % blue for NoStress
  155. bar_handle_avg.CData(2,:) = [0.8500, 0.3250, 0.0980]; % red for Stress
  156. hold on;
  157. errorbar(1:2, bar_data_avg, bar_errors_avg, 'k', 'LineStyle', 'none', 'LineWidth', 1.5);
  158. hold off;
  159. set(gca, 'xticklabel', {'NoStress', 'Stress'});
  160. ylabel('Average Value After 0');
  161. title('Comparison of Average Values After 0 Seconds between NoStress and Stress Groups');

FiberPhotometry.m at commit b658ea0, under MIT · at the source

Overview

Authors: Kenji J Nishimura1, Denisse Paredes1, Nathaniel A Nocera1, Dhruv Aggarwal1, Michael R Drew1
  1. Center for Learning and Memory, Department of Neuroscience, University of Texas at Austin Austin United States
Institutions: The University of Texas at Austin (United States)
Journal: eLife, volume 14, article RP107670
Dates: published online 22 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.107670 · PMID 42329677 · PMCID PMC13286568 · OpenAlex W4412699534
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: mouse (organism), cognitive (subfield)
Methods: Statistics, Preprocessing, Single-unit activity, calcium imaging
Keywords: stress, sensitization, fear learning, stress-enhanced fear learning, paraventricular thalamus, Mouse
MeSH: Fear*, Learning*, Midline Thalamic Nuclei*, Stress, Psychological*, Animals, Male, Mice, Mice, Inbred C57BL, Proto-Oncogene Proteins c-fos (* major topic)
Journal subjects: Neuroscience
Topic: Stress Responses and Cortisol (Behavioral Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institute of Mental Health (R01MH117426, R21MH128610, T32MH106454)
Citations: cited by 1 paper (Europe PMC); 53 references in the paper
Research resources: anti-c-Fos (Rabbit polyclonal) RRID:AB_2231974, RRID:AB_2661852, AAV8-hSyn-mCherry RRID:Addgene_114472, AAV1-syn-jGCaMP8s-WPRE RRID:Addgene_162374, AAV8-hSyn-hM3D(Gq)-mCherry RRID:Addgene_50474, AAV8-hSyn-hM4D(Gi)-mCherry RRID:Addgene_50475, MATLAB RRID:SCR_001622, Prism 6 RRID:SCR_002798, ImageJ RRID:SCR_003070, Synapse RRID:SCR_006495, ZEN Microscopy Software RRID:SCR_013672, ANY-maze RRID:SCR_014289, Video Freeze Software RRID:SCR_014574

Abstract

Exposure to stress can cause long-lasting enhancement of fear and other defensive responses that extend beyond the cues or contexts associated with the original traumatic event. These nonassociative consequences of stress, referred to as fear sensitization, are thought to underlie some symptoms of trauma-related disorders. Fear sensitization has been predominantly studied using the stress-enhanced fear learning (SEFL) paradigm, which models the stress-induced amplification of fear learning. Less is known about the mechanisms through which unlearned fear responses are sensitized by stress. Here, we investigated the neural mechanisms for sensitization of unlearned fear responses using a paradigm we termed stress-enhanced fear responding (SEFR). In this model, mice exposed to a single session of footshock stress exhibit enhanced freezing to a novel tone stimulus. To investigate brain regions that might mediate SEFR, we first used c-Fos mapping to identify neural activity changes associated with stress-induced enhancement of unlearned fear. Our c-Fos screen identified the posterior paraventricular thalamus (pPVT) as a region that was persistently hyperactive after footshock stress and whose activity correlated with behavioral expression of SEFR. Using fiber photometry, we observed that SEFR, but not SEFL, was associated with increased activity in the pPVT. Next, we found that chemogenetic inhibition of the pPVT blocked both the induction of SEFR during stress and its later expression, while artificial stimulation of pPVT in stress-naive mice was sufficient to recapitulate SEFR. Interestingly, pPVT inhibition or stimulation did not affect acquisition or expression of SEFL. In conclusion, our results indicate that sensitization of fear learning (SEFL) and sensitization of unlearned fear (SEFR) have distinct neural mechanisms. Our results identify pPVT hyperactivity as a mechanism for stress-induced sensitization of unlearned fear and highlight pPVT as a potential target for treating arousal and reactivity symptoms of trauma- and stressor-related disorders.

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

Repository

Its files are read in the Code ↔ Paper reader above.

kjnish/fiberphotometry

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: b658ea0798dc1db76c81f4efcdc4638af92b9938, 19 May 2026
Languages: MATLAB (1)
Size: 2 files, 1 script
Software Heritage: not archived
Found in: the text, “Fiber photometry”
Holds: license file
Not found: README, 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

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;
  • 1 script, 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

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

Data availability

Behavior, in vivo calcium imaging, and c-Fos quantification datasets produced for this study are available on the Texas Data Repository at https://doi.org/10.18738/T8/AZJENK (Nishimura, 2026b). Relevant analysis code is available at https://github.com/kjnish/FiberPhotometry (copy archived at Nishimura, 2026a).

The following dataset was generated:

NishimuraKJ 2026Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL)Texas Data Repository10.18738/T8/AZJENKPMC1328656842329677

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, pages, dates, 5 authors, 6 keywords, 9 MeSH terms, 1 funder, 52 references, 13 RRIDs.

Cite

This paper

Nishimura, K. J., Paredes, D., Nocera, N. A., Aggarwal, D., & Drew, M. R. (2026). Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL). eLife, 14, RP107670. https://doi.org/10.7554/elife.107670

BibTeX

@article{nishimura2026paraventricular,
author = {Nishimura, Kenji J and Paredes, Denisse and Nocera, Nathaniel A and Aggarwal, Dhruv and Drew, Michael R},
title = {{Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL)}},
journal = {eLife},
year = {2026},
month = jun,
volume = {14},
pages = {RP107670},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.107670},
url = {https://doi.org/10.7554/elife.107670},
pmid = {42329677},
pmcid = {PMC13286568}
}

RIS

TY - JOUR
AU - Nishimura, Kenji J
AU - Paredes, Denisse
AU - Nocera, Nathaniel A
AU - Aggarwal, Dhruv
AU - Drew, Michael R
TI - Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL)
T2 - eLife
J2 - Elife
PY - 2026
DA - 2026/06/22
VL - 14
SP - RP107670
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.107670
UR - https://doi.org/10.7554/elife.107670
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.107670",
"type": "article-journal",
"title": "Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL)",
"container-title": "eLife",
"author": [
{
"family": "Nishimura",
"given": "Kenji J"
},
{
"family": "Paredes",
"given": "Denisse"
},
{
"family": "Nocera",
"given": "Nathaniel A"
},
{
"family": "Aggarwal",
"given": "Dhruv"
},
{
"family": "Drew",
"given": "Michael R"
}
],
"container-title-short": "Elife",
"volume": "14",
"page": "RP107670",
"DOI": "10.7554/elife.107670",
"PMID": "42329677",
"PMCID": "PMC13286568",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.107670",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
22
]
]
}
}

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-73906-3 [code]
A synaptic mechanism for encoding the learned value of action-derived safety.
Journal: Nature communications
In common: mouse, 7 references
[2] doi:10.1038/s41467-026-71481-1 [code]
Sex-specific increased reactivity of the PVT and prolonged PVT→CeA circuit engagement following psilocin administration.
Journal: Nature communications
In common: 6 references
[3] doi:10.7554/elife.102189
Thalamo-accumbal circuit adaptations following extended oxycodone abstinence.
Journal: eLife
In common: 4 references
[4] doi:10.1111/jnc.70448
Hydroxytyrosol Mitigates Anxiety-Like Behaviors After a Traumatic Experience in Aged Mice in Parallel With Increased Neurogenesis in the Ventral and Dorsal Dentate Gyrus, and Preservation of Gut Microbiota Composition.
Journal: Journal of neurochemistry
In common: mouse, 3 references
[5] doi:10.1016/j.isci.2026.117108 [code]
PVT inhibition mitigates neuropathology and cognitive deficits in chronic cerebral hypoperfusion.
Journal: iScience
In common: 3 references
[6] doi:10.1038/s41467-026-76574-5 [code]
Prefrontal-raphe-habenular circuit drives fear memory recall and updating.
Journal: Nature communications
In common: mouse, 2 references
[7] doi:10.1073/pnas.2605466123 [code]
Parabrachial &lt;i&gt;Ntsr1&lt;/i&gt; neurons modulate food intake and anxiety through a projection to the ventromedial hypothalamus.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: mouse, 2 references
[8] doi:10.1371/journal.pbio.3003922 [code]
Competing value signals impair reward-learning via dopaminergic mechanisms and increase exploration.
Journal: PLoS biology
In common: cognitive, 1 reference
[9] doi:10.1016/j.celrep.2026.117298 [code]
Midbrain endocannabinoids actuate dopamine-based action selection.
Journal: Cell reports
In common: mouse, 1 reference
[10] doi:10.1038/s12276-026-01794-0 [code]
Extinction-restraint intervention eradicates fear memory encoded in BLA engram cells via D2 receptor-mediated dopaminergic modulation from locus coeruleus.
Journal: Experimental & molecular medicine
In common: mouse, 1 reference

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.