Paraventricular thalamus hyperactivity mediates stress-induced sensitization of unlearned fear but not stress-enhanced fear learning (SEFL).
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
- %% Code by Kenji J. Nishimura adapted from:
- % Code by David J. Barker for Morales Laboratory
- % "Barker, D. J. et al., (2017). Lateral preoptic
- % control of the lateral habenula through convergent glutamate and GABA
- % transmission. Cell reports, 21(7), 1757-1769."
- close all; clear all; clc;
- PROJECTPATH = uigetdir(pwd, ...
- 'Select the main project folder');
- SDKPATH = fullfile(PROJECTPATH, 'TDTMatlabSDK');
- addpath(genpath(SDKPATH));
- MAINEXAMPLEPATH = uigetdir(PROJECTPATH, ...
- 'Select the folder containing entire subject TDT blocks');
- DATAPATH = fullfile(MAINEXAMPLEPATH);
- STREAM_STORE1 = 'x405C';
- STREAM_STORE2 = 'x465C';
- TRANGE = [-5 35];
- BASELINE_PER = [-5 0];
- ARTIFACT = Inf;
- N = 50;
- NoStress_group = [];
- Stress_group = [];
- auc_NoStress = [];
- auc_Stress = [];
- avg_NoStress = [];
- avg_Stress = [];
- ts2 = [];
- subject_folders = dir(DATAPATH);
- subject_folders = subject_folders([subject_folders.isdir]);
- for i = 1:length(subject_folders)
- folder_name = subject_folders(i).name;
- if ismember(folder_name, {'.', '..'})
- continue;
- end
- BLOCKPATH = fullfile(DATAPATH, folder_name);
- if ~isfolder(BLOCKPATH)
- warning('Folder does not exist: %s', BLOCKPATH);
- continue;
- end
- data = TDTbin2mat(BLOCKPATH, 'TYPE', {'epocs', 'scalars', 'streams'});
- data.epocs.Manual.onset = [data.epocs.PC0_.onset(1) + 180, data.epocs.PC0_.onset(1) + 240, data.epocs.PC0_.onset(1) + 300];
- data.epocs.Manual.offset = data.epocs.Manual.onset + 30;
- data.epocs.Manual.data = ones(numel(data.epocs.Manual.onset), 1);
- data.epocs.Manual.name = 'Manual';
- data = TDTfilter(data, 'Manual', 'TIME', TRANGE);
- art1 = ~cellfun('isempty', cellfun(@(x) x(x>ARTIFACT), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false));
- art2 = ~cellfun('isempty', cellfun(@(x) x(x<-ARTIFACT), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false));
- good = ~art1 & ~art2;
- data.streams.(STREAM_STORE1).filtered = data.streams.(STREAM_STORE1).filtered(good);
- art1 = ~cellfun('isempty', cellfun(@(x) x(x>ARTIFACT), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false));
- art2 = ~cellfun('isempty', cellfun(@(x) x(x<-ARTIFACT), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false));
- good2 = ~art1 & ~art2;
- data.streams.(STREAM_STORE2).filtered = data.streams.(STREAM_STORE2).filtered(good2);
- minLength1 = min(cellfun('prodofsize', data.streams.(STREAM_STORE1).filtered));
- minLength2 = min(cellfun('prodofsize', data.streams.(STREAM_STORE2).filtered));
- data.streams.(STREAM_STORE1).filtered = cellfun(@(x) x(1:minLength1), data.streams.(STREAM_STORE1).filtered, 'UniformOutput',false);
- data.streams.(STREAM_STORE2).filtered = cellfun(@(x) x(1:minLength2), data.streams.(STREAM_STORE2).filtered, 'UniformOutput',false);
- allSignals405 = cell2mat(data.streams.(STREAM_STORE1).filtered');
- allSignals465 = cell2mat(data.streams.(STREAM_STORE2).filtered');
- F405 = zeros(size(allSignals405(:,1:N:end-N+1)));
- F465 = zeros(size(allSignals465(:,1:N:end-N+1)));
- for ii = 1:size(allSignals405,1)
- F405(ii,:) = arrayfun(@(i) mean(allSignals405(ii,i:i+N-1)),1:N:length(allSignals405)-N+1);
- F465(ii,:) = arrayfun(@(i) mean(allSignals465(ii,i:i+N-1)),1:N:length(allSignals465)-N+1);
- end
- ts2 = linspace(TRANGE(1), TRANGE(1) + TRANGE(2), size(F465, 2));
- bls = polyfit(F405(:), F465(:), 1);
- Y_fit_all = bls(1) .* F405 + bls(2);
- Y_dF_all = F465 - Y_fit_all;
- zall = zeros(size(Y_dF_all));
- ind = ts2 >= BASELINE_PER(1) & ts2 <= BASELINE_PER(2);
- for j = 1:size(Y_dF_all, 1)
- zb = mean(Y_dF_all(j, ind));
- zsd = std(Y_dF_all(j, ind));
- zall(j, :) = (Y_dF_all(j, :) - zb) / zsd;
- end
- mean_zall_subject = mean(zall);
- post_zero_indices = find(ts2 > 0);
- auc_subject = trapz(ts2(post_zero_indices), mean_zall_subject(post_zero_indices));
- average_post_zero = mean(mean_zall_subject(post_zero_indices));
- if startsWith(folder_name, 'N')
- NoStress_group = [NoStress_group; mean_zall_subject];
- auc_NoStress = [auc_NoStress; auc_subject];
- avg_NoStress = [avg_NoStress; average_post_zero];
- elseif startsWith(folder_name, 'S')
- Stress_group = [Stress_group; mean_zall_subject];
- auc_Stress = [auc_Stress; auc_subject];
- avg_Stress = [avg_Stress; average_post_zero];
- end
- intervals = [0 10; 10 20; 20 30 ];
- auc_intervals_NoStress = zeros(size(NoStress_group, 1), size(intervals, 1));
- auc_intervals_Stress = zeros(size(Stress_group, 1), size(intervals, 1));
- for i = 1:size(intervals, 1)
- start_time = intervals(i, 1);
- end_time = intervals(i, 2);
- indices = ts2 >= start_time & ts2 <= end_time;
- for j = 1:size(NoStress_group, 1)
- auc_intervals_NoStress(j, i) = trapz(ts2(indices), NoStress_group(j, indices));
- end
- end
- for i = 1:size(intervals, 1)
- start_time = intervals(i, 1);
- end_time = intervals(i, 2);
- indices = ts2 >= start_time & ts2 <= end_time;
- for j = 1:size(Stress_group, 1)
- auc_intervals_Stress(j, i) = trapz(ts2(indices), Stress_group(j, indices));
- end
- end
- end
- %% Plot values
- mean_NoStress = mean(NoStress_group, 1);
- std_NoStress = std(NoStress_group, 0, 1) / sqrt(size(NoStress_group, 1));
- mean_Stress = mean(Stress_group, 1);
- std_Stress = std(Stress_group, 0, 1) / sqrt(size(Stress_group, 1));
- mean_avg_NoStress = mean(avg_NoStress);
- std_avg_NoStress = std(avg_NoStress) / sqrt(length(avg_NoStress));
- mean_avg_Stress = mean(avg_Stress);
- std_avg_Stress = std(avg_Stress) / sqrt(length(avg_Stress));
- figure;
- color_NoStress = [0.5, 0.5, 0.5];
- color_Stress = [0.8500, 0.3250, 0.0980];
- XX = [ts2, fliplr(ts2)];
- YY = [mean_NoStress - std_NoStress, fliplr(mean_NoStress + std_NoStress)];
- plot(ts2, mean_NoStress, 'Color', color_NoStress, 'LineWidth', 2); hold on;
- fill(XX, YY, color_NoStress, 'FaceAlpha', 0.2, 'EdgeColor', 'none', 'HandleVisibility', 'off');
- YY = [mean_Stress - std_Stress, fliplr(mean_Stress + std_Stress)];
- plot(ts2, mean_Stress, 'Color', color_Stress, 'LineWidth', 2);
- fill(XX, YY, color_Stress, 'FaceAlpha', 0.2, 'EdgeColor', 'none', 'HandleVisibility', 'off');
- xlabel('Time, s');
- ylabel('Z-score');
- title('ToneTest2: Comparison of NoStress vs Stress Groups');
- legend({'NoStress', 'Stress'}, 'TextColor', 'black', 'FontSize', 10, 'Location', 'northeast');
- mean_auc_NoStress = mean(auc_NoStress);
- std_auc_NoStress = std(auc_NoStress) / sqrt(length(auc_NoStress));
- mean_auc_Stress = mean(auc_Stress);
- std_auc_Stress = std(auc_Stress) / sqrt(length(auc_Stress));
- figure;
- bar_data = [mean_auc_NoStress, mean_auc_Stress];
- bar_errors = [std_auc_NoStress, std_auc_Stress];
- bar_handle = bar(bar_data);
- bar_handle.FaceColor = 'flat';
- bar_handle.CData(1,:) = [0, 0.4470, 0.7410]; % blue for NoStress
- bar_handle.CData(2,:) = [0.8500, 0.3250, 0.0980]; % red for Stress
- hold on;
- errorbar(1:2, bar_data, bar_errors, 'k', 'LineStyle', 'none', 'LineWidth', 1.5);
- hold off;
- set(gca, 'xticklabel', {'NoStress', 'Stress'});
- ylabel('Area Under Curve (AUC)');
- title('Comparison of AUC between NoStress and Stress Groups');
- figure;
- bar_data_avg = [mean_avg_NoStress, mean_avg_Stress];
- bar_errors_avg = [std_avg_NoStress, std_avg_Stress];
- bar_handle_avg = bar(bar_data_avg);
- bar_handle_avg.FaceColor = 'flat';
- bar_handle_avg.CData(1,:) = [0, 0.4470, 0.7410]; % blue for NoStress
- bar_handle_avg.CData(2,:) = [0.8500, 0.3250, 0.0980]; % red for Stress
- hold on;
- errorbar(1:2, bar_data_avg, bar_errors_avg, 'k', 'LineStyle', 'none', 'LineWidth', 1.5);
- hold off;
- set(gca, 'xticklabel', {'NoStress', 'Stress'});
- ylabel('Average Value After 0');
- title('Comparison of Average Values After 0 Seconds between NoStress and Stress Groups');
FiberPhotometry.m at commit b658ea0, under MIT · at the source
Overview
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
b658ea0798dc1db76c81f4efcdc4638af92b9938, 19 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
2 files
- FiberPhotometry.m, MATLAB, 262 lines
- LICENSE, License, 21 lines
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://
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/
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://
BibTeX
@article{nishimura2026pa
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/
url = {https://
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/
VL - 14
SP - RP107670
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"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":
"volume": "14",
"page": "RP107670",
"DOI": "10.7554/
"PMID": "42329677",
"PMCID": "PMC13286568",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"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 communicationsIn 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 communicationsIn common: 6 references
- [3] doi:10.7554/elife.102189
- Thalamo-accumbal circuit adaptations following extended oxycodone abstinence.Journal: eLifeIn 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 neurochemistryIn 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: iScienceIn common: 3 references
- [6] doi:10.1038/s41467-026-76574-5 [code]
- Prefrontal-raphe-habenul
ar circuit drives fear memory recall and updating. Journal: Nature communicationsIn 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 AmericaIn 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 biologyIn common: cognitive, 1 reference
- [9] doi:10.1016/j.celrep.2026.117298 [code]
- Midbrain endocannabinoids actuate dopamine-based action selection.Journal: Cell reportsIn 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 medicineIn 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.
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: 1 repository of the authors' code, each at its verified commit and with its license, 1 script, and 0 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:62366e628b45fb6f…
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.
