OSCR

Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD.

Code ↔ Paper

1 match 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.

The 1 match
  1. [1] § Method › Psychophysiology quantification ↔ code/scr_analyses.R, lines 1–55 · score 0.55 · skin conductance response, zero, Raw, scored, SCR, stimulus

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 · 127 lines · 5.4 KB · no license · 1 match

  1. #####################################################################################
  2. # scr_analyses.R
  3. #
  4. # Cooper et al. (2025). Translational Psychiatry.
  5. #
  6. # Skin conductance response (SCR) models across phases: fear acquisition,
  7. # extinction, renewal24hr, and renewal1mo. Outcome (scrz) is SCR z-scored
  8. # within group prior (see scr.csv); trial numbering in the raw
  9. # data runs continuously across phases, so each model below re-zeroes
  10. # `trial` to that phase's own start and re-derives an early/late half split
  11. # from the corrected count.
  12. #
  13. # INPUTS (read from data/, deposited alongside this script)
  14. # scr.csv -> df.scr (subject, group, task, stim, trial, scrz)
  15. # excluded_subjects.csv -> df.excluded_subjects
  16. #
  17. # OUTPUTS
  18. # This script produces no new files.
  19. #
  20. #####################################################################################
  21. # setup -------------------------------------------------------------------------
  22. library(tidyverse)
  23. library(lme4)
  24. library(easystats)
  25. library(robustlmm)
  26. library(emmeans)
  27. # load data -------------------------------------------------------------------------
  28. df.scr <- read_csv("data/scr.csv")
  29. df.excluded_subjects <- read_csv("data/excluded_subjects.csv")
  30. # acquisition ---------------------------------------------------------------
  31. m1.scr.acq <- df.scr %>%
  32. filter(task=="FC") %>%
  33. filter(!subject %in% df.excluded_subjects$subject) %>%
  34. mutate(half = case_when(trial < 13 ~ "early", # trial numbering starts at 1 for this phase
  35. TRUE ~ "late")) %>%
  36. mutate(stim = fct_relevel(stim,"CC","EXT","CTRL")) %>%
  37. lmer(scrz~stim*group*half+trial+(1|subject)+(1|subject:stim)+(1|subject:half)+(1|trial),data=.)
  38. m1.scr.acq.stdize <- m1.scr.acq %>% datawizard::standardise()
  39. m1.scr.acq %>% parameters(summary=T)
  40. m1.scr.acq.stdize %>% parameters(summary=T)
  41. m1.scr.acq %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  42. m1.scr.acq.stdize %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  43. m1.scr.acq %>% emmeans(pairwise~stim|half|group,adjust="none")
  44. m1.scr.acq.stdize %>% emmeans(pairwise~stim|half|group,adjust="none")
  45. # extinction ------------------------------------------------------------------
  46. m1.scr.ext <- df.scr %>%
  47. filter(task=="SafetyLearning") %>%
  48. filter(!subject %in% df.excluded_subjects$subject) %>%
  49. mutate(trial = trial - 24, # raw trial numbering continues from acquisition (1-24); reset to phase-local count
  50. half = case_when(trial < 13 ~ "early",
  51. TRUE ~ "late")) %>%
  52. mutate(stim = fct_relevel(stim,"CC","EXT","CTRL")) %>%
  53. lmer(scrz~stim*group*half+trial+(1|subject)+(1|subject:stim)+(1|subject:half)+(1|trial),data=.)
  54. m1.scr.ext.stdize <- m1.scr.ext %>% datawizard::standardise()
  55. m1.scr.ext %>% parameters(summary=T)
  56. m1.scr.ext.stdize %>% parameters(summary=T)
  57. m1.scr.ext %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  58. m1.scr.ext.stdize %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  59. m1.scr.ext %>% emmeans(pairwise~stim|half|group,adjust="none")
  60. m1.scr.ext.stdize %>% emmeans(pairwise~stim|half|group,adjust="none")
  61. # renewal24hr -------------------------------------------------------------
  62. m1.scr.ren1 <- df.scr %>%
  63. filter(task=="24hrRNWL") %>%
  64. filter(!subject %in% df.excluded_subjects$subject) %>%
  65. mutate(trial = trial - 48, # raw trial numbering continues from acquisition+extinction (1-48); reset to phase-local count
  66. half = case_when(trial < 5 ~ "early", # renewal phases are shorter, so the early/late split point differs from acq/ext
  67. TRUE ~ "late")) %>%
  68. mutate(stim = fct_relevel(stim,"CC","EXT","CTRL")) %>%
  69. lmer(scrz~stim*group*half+trial+(1|subject)+(1|subject:stim)+(1|subject:half)+(1|trial),data=.)
  70. m1.scr.ren1.stdize <- m1.scr.ren1 %>% datawizard::standardise()
  71. m1.scr.ren1 %>% parameters(summary=T)
  72. m1.scr.ren1.stdize %>% parameters(summary=T)
  73. m1.scr.ren1 %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  74. m1.scr.ren1.stdize %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  75. m1.scr.ren1 %>% emmeans(pairwise~stim|half|group,adjust="none")
  76. m1.scr.ren1.stdize %>% emmeans(pairwise~stim|half|group,adjust="none")
  77. # renewal1mo --------------------------------------------------------------
  78. m1.scr.ren2 <- df.scr %>%
  79. filter(str_detect(task,"month")) %>%
  80. filter(!subject %in% df.excluded_subjects$subject) %>%
  81. mutate(trial = trial - 56, # raw trial numbering continues from acquisition+extinction+renewal24hr (1-56); reset to phase-local count
  82. half = case_when(trial < 5 ~ "early",
  83. TRUE ~ "late")) %>%
  84. mutate(stim = fct_relevel(stim,"CC","EXT","CTRL")) %>%
  85. lmer(scrz~stim*group*half+trial+(1|subject)+(1|subject:stim)+(1|subject:half)+(1|trial),data=.)
  86. m1.scr.ren2.stdize <- m1.scr.ren2 %>% datawizard::standardise()
  87. m1.scr.ren2 %>% parameters(summary=T)
  88. m1.scr.ren2.stdize %>% parameters(summary=T)
  89. m1.scr.ren2 %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  90. m1.scr.ren2.stdize %>% emmeans(pairwise~stim*group*half) %>% joint_tests(by="half")
  91. m1.scr.ren2 %>% emmeans(pairwise~group|half,adjust="none")
  92. m1.scr.ren2.stdize %>% emmeans(pairwise~group|half,adjust="none")
  93. m1.scr.ren2 %>% emmeans(pairwise~stim|half|group,adjust="none")
  94. m1.scr.ren2.stdize %>% emmeans(pairwise~stim|half|group,adjust="none")

scr_analyses.R, no license · at the source

Overview

Authors: Samuel E Cooper1,2,3, Nicole E Keller4, Elizabeth A Bauer1, Sydney R Lambert1, Augustin C Hennings5, Ameera A Azar1, Sophia A Bibb6, Charles B Nemeroff1,3, Josh M Cisler1,2,3,7, Jarrod A Lewis-Peacock1,2,7,8,9, Joseph E Dunsmoor1,2,7,8,9
  1. Department of Psychiatry and Behavioral Sciences, Dell Medical School, University of Texas at Austin, Austin, Texas USA
  2. Interdisciplinary Neuroscience Program, University of Texas at Austin, Austin, Texas USA
  3. Institute for Early Life Adversity Research, Dell Medical School, University of Texas at Austin, Austin, Texas USA
  4. Exponent, Inc, Denver, Colorado, USA
  5. Princeton Neuroscience Institute, Princeton University, Princeton, New Jersey USA
  6. Neuroscience Graduate Program, Ohio State University, Columbus, Ohio USA
  7. Department of Psychology, University of Texas at Austin, Austin, Texas USA
  8. Center for Learning and Memory, University of Texas at Austin, Austin, Texas USA
  9. Department of Neuroscience, University of Texas at Austin, Austin, Texas USA
Institutions: The University of Texas at Austin (United States); Exponent (United States) (United States); Princeton University (United States); The Ohio State University (United States)
Journal: Translational psychiatry, volume 16, issue 1, article 303
Dates: received 18 November 2025; accepted 6 March 2026; published online 23 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41398-026-03966-y · PMID 42026031 · PMCID PMC13237184 · OpenAlex W4410426999
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), other condition (population)
Methods: Statistics, Connectivity, fMRI & imaging, Spectral & time-frequency, Smoothing, state filtering, decompositions, Machine learning
Keywords: Psychiatric disorders, Learning and memory, Human behaviour
MeSH: Conditioning, Classical*, Extinction, Psychological*, Gyrus Cinguli*, Prefrontal Cortex*, Stress Disorders, Post-Traumatic*, Adult, Brain Mapping, Female, Humans, Magnetic Resonance Imaging, Male (* major topic)
Topic: Anesthesia and Neurotoxicity Research (Developmental Neuroscience, Neuroscience), according to OpenAlex
Funding: NIMH NIH HHS (R01 MH117293, R01 MH125886, R33 MH108753, R01 MH129042, T32 MH106454, R01 MH119132); NIAAA NIH HHS (R01 AA030740, R01 AA030038); U.S. Department of Health & Human Services | NIH | National Institute of Mental Health (NIMH) (K23MH138889)
Citations: cited by 2 papers (Europe PMC); 109 references in the paper
Research resources: RRID:SCR_021898

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

OSF rfzt6

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Languages: R (7)
Size: 18 files, 7 scripts
Software Heritage: not checked
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (7 files), easystats (6 files), emmeans (5 files), lme4 (5 files), car (2 files), ggpubr (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
8 files
At the source: osf.io/rfzt6/

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;
  • 7 scripts, each with its path and the digest of its content;
  • 1 match 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.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41398-026-03966-y.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 3 keywords, 11 MeSH terms, 3 funders, 94 references, 1 RRID.

Cite

This paper

Cooper, S. E., Keller, N. E., Bauer, E. A., Lambert, S. R., Hennings, A. C., Azar, A. A., Bibb, S. A., Nemeroff, C. B., Cisler, J. M., Lewis-Peacock, J. A., & Dunsmoor, J. E. (2026). Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD. Translational psychiatry, 16(1), 303. https://doi.org/10.1038/s41398-026-03966-y

BibTeX

@article{cooper2026augmenting,
author = {Cooper, Samuel E and Keller, Nicole E and Bauer, Elizabeth A and Lambert, Sydney R and Hennings, Augustin C and Azar, Ameera A and Bibb, Sophia A and Nemeroff, Charles B and Cisler, Josh M and Lewis-Peacock, Jarrod A and Dunsmoor, Joseph E},
title = {{Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD}},
journal = {Translational psychiatry},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {303},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/s41398-026-03966-y},
url = {https://doi.org/10.1038/s41398-026-03966-y},
pmid = {42026031},
pmcid = {PMC13237184}
}

RIS

TY - JOUR
AU - Cooper, Samuel E
AU - Keller, Nicole E
AU - Bauer, Elizabeth A
AU - Lambert, Sydney R
AU - Hennings, Augustin C
AU - Azar, Ameera A
AU - Bibb, Sophia A
AU - Nemeroff, Charles B
AU - Cisler, Josh M
AU - Lewis-Peacock, Jarrod A
AU - Dunsmoor, Joseph E
TI - Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/04/23
VL - 16
IS - 1
SP - 303
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/s41398-026-03966-y
UR - https://doi.org/10.1038/s41398-026-03966-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41398-026-03966-y",
"type": "article-journal",
"title": "Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD",
"container-title": "Translational psychiatry",
"author": [
{
"family": "Cooper",
"given": "Samuel E"
},
{
"family": "Keller",
"given": "Nicole E"
},
{
"family": "Bauer",
"given": "Elizabeth A"
},
{
"family": "Lambert",
"given": "Sydney R"
},
{
"family": "Hennings",
"given": "Augustin C"
},
{
"family": "Azar",
"given": "Ameera A"
},
{
"family": "Bibb",
"given": "Sophia A"
},
{
"family": "Nemeroff",
"given": "Charles B"
},
{
"family": "Cisler",
"given": "Josh M"
},
{
"family": "Lewis-Peacock",
"given": "Jarrod A"
},
{
"family": "Dunsmoor",
"given": "Joseph E"
}
],
"container-title-short": "Transl Psychiatry",
"volume": "16",
"issue": "1",
"page": "303",
"DOI": "10.1038/s41398-026-03966-y",
"PMID": "42026031",
"PMCID": "PMC13237184",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41398-026-03966-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
23
]
]
}
}

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/s41380-026-03640-1
Anxiety sensitivity and intolerance of uncertainty track distinct neurobehavioral dimensions of avoidance in anxiety-related disorders.
Journal: Molecular psychiatry
In common: other condition, 7 references, author Samuel E. Cooper
[2] doi:10.1038/s41398-026-03996-6
Fear learning in unmedicated patients with anxiety disorders: a comparison of delay conditioning, fear reversal, and trace conditioning.
Journal: Translational psychiatry
In common: other condition, 7 references
[3] doi:10.1038/s41467-026-71830-0 [code]
Predicting individual differences of fear and cognitive learning and extinction.
Journal: Nature communications
In common: car, emmeans, tidyverse, 4 references
[4] doi:10.1192/bjp.2026.10664 [code]
Early effects of a novel 5-HT&lt;sub&gt;4&lt;/sub&gt;R agonist (PF-04995274) and the SSRI citalopram on emotional cognition in unmedicated depression: RESTAND study.
Journal: The British journal of psychiatry : the journal of mental science
In common: easystats, car, emmeans, 3 other tools, 1 reference
[5] doi:10.1038/s41467-026-69950-8 [code]
Dopaminergic processes predict temporal distortions in event memory.
Journal: Nature communications
In common: easystats, car, emmeans, 2 other tools, 2 references
[6] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: easystats, car, emmeans, 3 other tools, 1 reference
[7] doi:10.1038/s41467-026-73865-9 [code]
Histamine shapes the neurocomputational dynamics of human learning.
Journal: Nature communications
In common: easystats, car, emmeans, 3 other tools, 1 reference
[8] doi:10.1093/braincomms/fcag279 [code]
Network flexibility facilitates treatment-induced recovery in post-stroke aphasia.
Journal: Brain communications
In common: easystats, car, emmeans, 3 other tools, 1 reference
[9] doi:10.1126/sciadv.aec9291 [code]
Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.
Journal: Science advances
In common: easystats, car, emmeans, 3 other tools
[10] doi:10.7554/elife.107088 [code]
Development of auditory and spontaneous movement responses to music over the first postnatal year.
Journal: eLife
In common: easystats, car, emmeans, 3 other tools

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.