OSCR

The functional neurobiology of dispositions towards negative emotions.

Code ↔ Paper

8 matches 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.

6 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 8 matches
  1. [1] § Methods › Statistical analysis › Data-driven machine learning models ↔ NDesignShinyApp/app.R, lines 1 to 71 · score 0.89 · implicit baseline, Principal Component Regression, Support Vector Regression, neutral scenes, cross validated correlations, PCR · block oscr:b:MB9S8PC0PY0HS-0 · Report a mismatch
  2. [2] § Methods › Statistical analysis › Literature-based approaches › Networks ↔ s2_Ranalyses.R, lines 410 to 459 · score 0.87 · Fronto Parietal, Ventral Attention, Dorsal Attention, random forest, multiple regression, Somatomotor · block oscr:b:0KTYWSCXQTVPQ-U · Report a mismatch
  3. [3] § Methods › MRI data acquisition and analysis ↔ CanlabCore/Image_thresholding/cl_ext_spm_spm.m, lines 1 to 60 · score 0.68 · general linear models, maximum likelihood, SPM, temporal, pre, filter · block oscr:b:1FB7A3E46H1EY-X · Report a mismatch
  4. [4] § Methods › Statistical analysis › Exploratory multiverse analysis ↔ NDesignShinyApp/app.R, lines 1 to 71 · score 0.63 · principal component, random forest, BDI, STAI, neutral, algorithm · block oscr:b:MB9S8PC0PY0HS-0 · Report a mismatch
  5. [5] § Methods › Statistical analysis › Data-driven machine learning models ↔ CanlabCore/@predictive_model/grid_search.m, lines 1 to 71 · score 0.62 · outer folds, cross validated, hyperparameter, nested, SVR, metric · block oscr:b:1M12ABVKH149C-X · Report a mismatch
  6. [6] § Results › Image centering indicates limited literature-based neural associations with stress vulnerability ↔ CanlabCore/Data_extraction/load_image_set.m, lines 1931 to 2007 · score 0.58 · Visually Induced Fear, Picture Induced, Negative Emotion, PINES, neutral, VIFS · block oscr:b:B84XY7DJW4DHP-J · Report a mismatch
  7. [7] § Results › Evidence against meaningful neuroticism associations with literature-based neural measures ↔ CanlabCore/Data_extraction/load_image_set.m, lines 1931 to 2007 · score 0.58 · Visually Induced Fear, Picture Induced, Negative Emotion, PINES, VIFS, signatures · block oscr:b:B84XY7DJW4DHP-J · Report a mismatch
  8. [8] § Results › The stress vulnerability pattern is distributed across neural systems ↔ CanlabCore/Data_extraction/load_atlas.m, lines 787 to 861 · score 0.54 · basal ganglia, resting state networks, cerebellum, brainstem, S2 · block oscr:b:58J9D1VW18FWC-W · Report a mismatch

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

R · 124 lines · 3.8 KB · no license · 2 matches

  1. library(shiny)
  2. library(ggplot2)
  3. library(dplyr)
  4. # Load the dataframe
  5. df <- read.csv("dfDesign.csv")
  6. df$outcome <- ifelse(is.na(df$outcome), "Negative Affect", df$outcome)
  7. df$outcome <- case_match(df$outcome,
  8. "ERLookDiff" ~ "Task-based Ratings",
  9. "neoN" ~ "Neuroticism",
  10. "neoN1" ~ "N1:Anxiety",
  11. "neoN2" ~ "N2:Hostility",
  12. "neoN3" ~ "N3:Depression",
  13. "neoN4" ~ "N4:Self-Consciousness",
  14. "neoN5" ~ "N5:Impulsiveness",
  15. "neoN6" ~ "N6:Vulnerability",
  16. "NEONother" ~ "N:Other",
  17. "NEONX" ~ "N:Other+Self",
  18. "PA" ~ "Positive Affect",
  19. "Negative Affect" ~ "Negative Affect",
  20. "BDI" ~ "BDI",
  21. "STAI" ~ "STAI")
  22. df$data <- case_match(df$data,
  23. "IAPS" ~ "scenes",
  24. "PFA" ~ "faces")
  25. df$contrast <- case_match(df$contrast,
  26. "controlCond" ~ "Neutral Scenes/Shapes",
  27. "implBaseline" ~ "Implicit Baseline")
  28. df$trainsVsFull <- case_match(df$trainsVsFull,
  29. "AHAB" ~ "AHAB2 subsample",
  30. "full" ~ "Full Data",
  31. "train" ~ "Training Data Only")
  32. df$rescale <- case_match(df$rescale,
  33. "cente" ~ "Image-wise centering",
  34. "nocen" ~ "No image-wise scaling",
  35. "zscor" ~ "Image-wise z-scoring")
  36. df$algorithm <- case_match(df$algorithm,
  37. "pcr" ~ "Principal Component Regression",
  38. "pls" ~ "Partial Least Squares",
  39. "rf" ~ "Random Forest",
  40. "svr" ~ "Support Vector Regression")
  41. names(df)[2] <- "task"
  42. names(df)[4] <- "data"
  43. # Define UI
  44. ui <- fluidPage(
  45. titlePanel("Dynamic subsetting and plotting of design factor influencing cross-validated correlations"),
  46. fluidRow(
  47. column(4,
  48. h3("Filter Dataframe"),
  49. uiOutput("checkboxes_ui")
  50. ),
  51. column(8,
  52. h3("Plot Settings"),
  53. selectInput("xvar", "Select X-axis variable:", choices = names(df)[-7]),
  54. selectInput("colorvar", "Select Color variable:", choices = c("None", names(df)[-7])),
  55. selectInput("facetvar", "Select Facet variable:", choices = c("None", names(df)[-7])),
  56. h3("Boxplot"),
  57. plotOutput("boxplot")
  58. )
  59. )
  60. )
  61. # Define server logic
  62. server <- function(input, output, session) {
  63. # Generate UI for checkboxes dynamically based on dataframe columns
  64. output$checkboxes_ui <- renderUI({
  65. checkbox_ui <- lapply(names(df)[-7], function(col) {
  66. unique_vals <- unique(df[[col]])
  67. checkboxGroupInput(inputId = col,
  68. label = paste("Select", col),
  69. choices = unique_vals,
  70. selected = unique_vals)
  71. })
  72. do.call(tagList, checkbox_ui)
  73. })
  74. # Reactive expression to subset dataframe based on checkbox inputs
  75. filtered_df <- reactive({
  76. sub_df <- df
  77. for(col in names(df)[-7]) {
  78. if(!is.null(input[[col]])) {
  79. sub_df <- sub_df[sub_df[[col]] %in% input[[col]], ]
  80. }
  81. }
  82. return(sub_df)
  83. })
  84. # Reactive expression to generate the ggplot boxplot
  85. output$boxplot <- renderPlot({
  86. req(input$xvar)
  87. p <- ggplot(filtered_df(), aes_string(x = input$xvar, y = "cvCorr")) +
  88. geom_boxplot() +
  89. geom_hline(yintercept = 0, color = "grey") +
  90. labs(y = "Correlation (cross-validated)", x = input$xvar) +
  91. theme_classic() +
  92. theme(axis.text.x = element_text(angle = 45, hjust = 1))
  93. if (input$colorvar != "None") {
  94. p <- p + aes_string(color = input$colorvar)
  95. }
  96. if (input$facetvar != "None") {
  97. p <- p + facet_wrap(as.formula(paste("~", input$facetvar)))
  98. }
  99. p
  100. })
  101. }
  102. # Run the application
  103. shinyApp(ui = ui, server = server)

app.R at commit cd93a0e, no license · at the source

Overview

Authors: M. Sicorello1,2, P. J. Gianaros3, A.G.C Wright4,5,6, B. Petre7, T. E. Kraynak8, S. B. Manuck3, C. Schmahl1,2, T. D. Wager7
  1. Department of Psychosomatic Medicine and Psychotherapy, Central Institute of Mental Health, Medical Faculty Mannheim, Heidelberg University,Heidelberg, Germany
  2. German Center for Mental Health (DZPG), Partner Site Mannheim-Heidelberg-Ulm,Heidelberg, Germany
  3. Department of Psychology, University of Pittsburgh,Pittsburgh, PA USA
  4. Department of Psychology, University of Michigan,Ann Arbor, MI USA
  5. Department of Psychiatry, University of Michigan,Ann Arbor, MI USA
  6. Eisenberg Family Depression Center, University of Michigan,Ann Arbor, MI USA
  7. Department of Psychological and Brain Sciences, Dartmouth College,Hanover, NH USA
  8. Department of Psychiatry, University of Pittsburgh,Pittsburgh, PA USA
Institutions: Heidelberg University (Germany); Deutsches Zentrum für Psychische Gesundheit (Germany); University of Pittsburgh (United States); University of Michigan (United States); Dartmouth College (United States)
Journal: Nature communications, volume 17, issue 1, article 5622
Dates: received 24 October 2025; accepted 8 June 2026; published online 27 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-74565-0 · PMID 42373635 · PMCID PMC13315715 · OpenAlex W7166518480
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), cognitive (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, Connectivity, fMRI & imaging
Keywords: Personality, Neural decoding, Diagnostic markers, Emotion
MeSH: Brain*, Emotions*, Adult, Amygdala, Bayes Theorem, Brain Mapping, Female, Humans, Machine Learning, Magnetic Resonance Imaging, Male, Neurobiology, Neuroticism, Stress, Psychological, Young Adult (* major topic)
Topic: Face Recognition and Perception (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Foundation for the National Institutes of Health (P01 HL040962 and R01 HL 1089850, R01 HL 1089850 / P01 HL040962)
Citations: cited by 2 papers (Europe PMC); 91 references in the paper

Abstract

People differ in their tendency to experience negative emotions. This variability is largely captured by broad psychological constructs like neuroticism, whose facets include anxiety, depression, and stress vulnerability, among others. The amygdala and salience network have been assumed to underlie such dispositions, despite inconsistent evidence. We preregistered a comprehensive test of these and other competing hypotheses—accompanied by theory-agnostic machine learning prediction—using neural responses in the two most common emotional neuroimaging tasks (scenes and faces; N = 338/424). Evidence including Bayes factors indicated that neuroticism is not associated with any region, network, affective signature, or machine learning pattern, including the amygdala. Still, a brain-wide machine learning pattern robustly predicted the neuroticism facet stress vulnerability (r = .21), replicated in an independent dataset (r = .19). Predictive performance most strongly depended on somatomotor and visual networks, rather than salience network regions, relating stress vulnerability to cortical perception–action systems. Together with a multiverse analysis spanning 14 trait constructs and 1,176 models, our findings demonstrate the highly selective predictability of emotional dispositions from brain responses to common affective tasks. Therein, they highlight the importance of construct and task selection, while challenging the role of the most commonly used neural markers, including responses of the amygdala and salience network.

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 8 matches between paragraphs and lines of code.

MaurizioSicorello/NeuroSquare_repo

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: cd93a0eaf8486b669fb6b4cfaa1db0bd842cdfb6, 11 May 2026
Languages: MATLAB (19), R (7)
Size: 1,325 files, 26 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, 1 notebook
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Statistics and Machine Learning Toolbox (13 files), ggplot2 (5 files), tidyverse (5 files), BayesFactor (2 files), caret (2 files), lme4 (2 files), Parallel Computing Toolbox (2 files), afex (1 file), brms (1 file), cowplot (1 file), easystats (1 file), metafor (1 file), nlme (1 file), psych (1 file), reshape2 (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
27 files

canlab/CanlabCore

License: GPL-2.0
State: the link answers, verified on 27 October 2026
Evidence: files inventoried
Commit: 982fbc45503513252fd21b2011eca87b4195f170, 26 October 2026
Languages: MATLAB (2438), C (91), C++ (66), Python (59), Java (47), C/C++ (44), Shell (10), R (2), JavaScript (2)
Size: 4,176 files, 2,759 scripts
Software Heritage: not archived
Found in: the references
Holds: continuous integration
Not found: README, license file, CITATION.cff, environment file, tests, documentation
Tools: SPM (160 files), Statistics and Machine Learning Toolbox (151 files), Brain Connectivity Toolbox (22 files), Optimization Toolbox (8 files), FreeSurfer (6 files), GIfTI library for MATLAB (3 files), Signal Processing Toolbox (3 files), boundedline (2 files), FieldTrip (2 files), Image Processing Toolbox (2 files), pandas (2 files), UMAP (2 files), AFNI (1 file), cifti-matlab (1 file), DPABI (1 file), fdr_bh (Benjamini-Hochberg FDR) (1 file), FSL (1 file), GIFT (1 file), Parallel Computing Toolbox (1 file), Matplotlib (1 file), Numba (1 file), NumPy (1 file), Violinplot-Matlab (1 file), Connectome Workbench (1 file)
Availability: 2 checks, the latest on 27 October 2026: the link answers
  • 27 October 2026: the link answers
  • 27 September 2026: the link answers
2,000 files

Zenodo 20119671

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Statistics and Machine Learning Toolbox (13 files), ggplot2 (5 files), tidyverse (5 files), BayesFactor (2 files), caret (2 files), lme4 (2 files), Parallel Computing Toolbox (2 files), afex (1 file), brms (1 file), cowplot (1 file), easystats (1 file), metafor (1 file), nlme (1 file), psych (1 file), reshape2 (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
27 files
At the source:

Code availability

Custom code is available on: https://github.com/MaurizioSicorello/NeuroSquare_repo91.

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:

  • 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 2,052 scripts, each with its path and the digest of its content;
  • 8 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

Deidentified psychological assessment data and neuroimaging data can be accessed, respectively, via https://github.com/MaurizioSicorello/NeuroSquare_repo91 and https://identifiers.org/neurovault.collection:5802.

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, 8 authors, 4 keywords, 15 MeSH terms, 1 funder, 82 references.

Cite

This paper

Sicorello, M., Gianaros, P. J., Wright, A., Petre, B., Kraynak, T. E., Manuck, S. B., Schmahl, C., & Wager, T. D. (2026). The functional neurobiology of dispositions towards negative emotions. Nature communications, 17(1), 5622. https://doi.org/10.1038/s41467-026-74565-0

BibTeX

@article{sicorello2026functional,
author = {Sicorello, M. and Gianaros, P. J. and Wright, A.G.C and Petre, B. and Kraynak, T. E. and Manuck, S. B. and Schmahl, C. and Wager, T. D.},
title = {{The functional neurobiology of dispositions towards negative emotions}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {5622},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-74565-0},
url = {https://doi.org/10.1038/s41467-026-74565-0},
pmid = {42373635},
pmcid = {PMC13315715}
}

RIS

TY - JOUR
AU - Sicorello, M.
AU - Gianaros, P. J.
AU - Wright, A.G.C
AU - Petre, B.
AU - Kraynak, T. E.
AU - Manuck, S. B.
AU - Schmahl, C.
AU - Wager, T. D.
TI - The functional neurobiology of dispositions towards negative emotions
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/06/27
VL - 17
IS - 1
SP - 5622
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-74565-0
UR - https://doi.org/10.1038/s41467-026-74565-0
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-74565-0",
"type": "article-journal",
"title": "The functional neurobiology of dispositions towards negative emotions",
"container-title": "Nature communications",
"author": [
{
"family": "Sicorello",
"given": "M."
},
{
"family": "Gianaros",
"given": "P. J."
},
{
"family": "Wright",
"given": "A.G.C"
},
{
"family": "Petre",
"given": "B."
},
{
"family": "Kraynak",
"given": "T. E."
},
{
"family": "Manuck",
"given": "S. B."
},
{
"family": "Schmahl",
"given": "C."
},
{
"family": "Wager",
"given": "T. D."
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "5622",
"DOI": "10.1038/s41467-026-74565-0",
"PMID": "42373635",
"PMCID": "PMC13315715",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-74565-0",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
27
]
]
}
}

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-024-50103-8 [code]
Placebo treatment affects brain systems related to affective and cognitive processes, but not nociceptive pain.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 24 other tools, cognitive, 9 references, 2 authors
[2] doi:10.1038/s41467-024-45433-6 [code]
A neural signature for the subjective experience of threat anticipation under uncertainty.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 24 other tools, cognitive, 12 references
[3] doi:10.1038/s41467-025-59931-8 [code]
Neural signatures of emotional intent and inference align during social consensus.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 24 other tools, cognitive, 5 references, author Tor D. Wager
[4] doi:10.1038/s41467-025-61706-0 [code]
A neurofunctional signature of affective arousal generalizes across valence domains and distinguishes subjective experience from autonomic reactivity.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 21 other tools, cognitive, 11 references
[5] doi:10.1038/s41467-023-39142-9 [code]
A dorsomedial prefrontal cortex-based dynamic functional connectivity model of rumination.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 21 other tools, 7 references, author Tor D. Wager
[6] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 21 other tools, cognitive, 4 references, author Tor D. Wager
[7] doi:10.1073/pnas.2310433121 [code]
Brain representations of affective valence and intensity in sustained pleasure and pain.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: GIFT, DPABI, cifti-matlab, 21 other tools, 6 references
[8] doi:10.1038/s41467-025-68240-z [code]
Map-like representations of emotion knowledge in hippocampal-prefrontal systems.
Journal: Nature communications
In common: GIFT, DPABI, cifti-matlab, 23 other tools, cognitive, 3 references
[9] doi:10.1073/pnas.2401959121 [code]
Brain decoding of spontaneous thought: Predictive modeling of self-relevance and valence using personal narratives.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: GIFT, DPABI, cifti-matlab, 21 other tools, 5 references
[10] doi:10.1016/j.celrep.2026.117033 [code]
Human superior colliculus pathways represent the form and motion of looming objects.
Journal: Cell reports
In common: GIFT, DPABI, cifti-matlab, 22 other tools, cognitive, 3 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-74565-0.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.