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; OSCR does not store it: 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.7554/elife.81818
- Molecular and spatial profiling of the paraventricular nucleus of the thalamus.Journal: eLifeIn common: mouse, 14 references
- [2] doi:10.1016/j.isci.2025.114390 [code]
- The encoding of interoceptive-based predictions by the paraventricular nucleus of the thalamus D2R+ neurons.Journal: iScienceIn common: mouse, 11 references
- [3] doi:10.7554/elife.57634
- Aversive stimuli bias corticothalamic responses to motivationally significant cues.Journal: eLifeIn common: mouse, 9 references
- [4] doi:10.1523/jneurosci.0539-25.2025 [code]
- Convergence and Segregation of Excitatory and Inhibitory Afferents in the Paraventricular Thalamic Nucleus.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: mouse, 8 references
- [5] doi:10.1038/s41467-024-50941-6 [code]
- Convergent direct and indirect cortical streams shape avoidance decisions in mice via the midline thalamus.Journal: Nature communicationsIn common: mouse, 8 references
- [6] doi:10.1371/journal.pbio.3002962 [code]
- Persistently increased post-stress activity of paraventricular thalamic neurons is essential for the emergence of stress-induced alterations in behaviour.Journal: PLoS biologyIn common: mouse, 7 references
- [7] doi:10.1038/s41467-022-34517-w [code]
- An opioid-gated thalamoaccumbal circuit for the suppression of reward seeking in mice.Journal: Nature communicationsIn common: mouse, 7 references
- [8] 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
- [9] doi:10.7554/elife.68372 [code]
- PBN-PVT projections modulate negative affective states in mice.Journal: eLifeIn common: mouse, 7 references
- [10] doi:10.1016/j.isci.2024.110886
- Divergent input patterns to the central lateral amygdala play a duet in fear memory formation.Journal: iScienceIn common: 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.
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:a6533f9f891efc36…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.7554/elife.107670)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.107670.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.107670
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.107670"><img src="https://openscicode.org/badge/doi/10.7554/elife.107670.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.
