Being praised and criticized in adolescents and adults: Age-related changes in neural responses to social evaluations.
The 5 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Methods › Dynamic causal modeling (DCM) analysis ↔ DCM analysis/Secondlevel_DCM_PEB.m, the whole file · a weak match · score 0.78 · free energy, connectivity parameters, design matrix, PEB, BMA, Pp · Report a mismatch
- [2] § Methods › MRI data preprocessing ↔ DCM analysis/Preparing_DCM_Denoising_data.py, lines 23 to 39 · score 0.69 · global signal, framewise displacement, preprocessed, confounding, space · Report a mismatch
- [3] § Methods › General linear model (GLM) analysis for fMRI data ↔ GLM analysis/GLM_firstlevel.py, lines 53 to 106 · score 0.62 · design matrix, CSF, FWHM, smoothing, preprocessed, signals · Report a mismatch
- [4] § Methods › MRI data acquisition ↔ DCM analysis/Firstlevel_DCM.m, lines 1 to 21 · score 0.59 · MRI scanner, echo, repetition, TE, TR · Report a mismatch
- [5] § Methods › MRI data preprocessing ↔ GLM analysis/GLM_firstlevel.py, lines 53 to 106 · score 0.54 · framewise displacement, preprocessed, confounding, space, signal · 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
Python · 131 lines · 5.4 KB · no license · 2 matches
- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- """
- by Qinyuan Chen at Ghent University
- """
- import os
- from os.path import join
- import pandas as pd
- import numpy as np
- from nilearn.glm.first_level import FirstLevelModel
- import glob
- # Define list of subject IDs
- def get_subject_ids(datadir):
- subject_paths = glob.glob(os.path.join(datadir, 'sub-*'))
- subject_ids = [os.path.basename(p).replace('sub-', '') for p in subject_paths if os.path.isdir(p)]
- return sorted(subject_ids)
- # Define contrasts
- def make_contrasts(design_matrix):
- #first generate canonical contrast
- contrast_matrix = np.eye(design_matrix.shape[-1])
- contrasts = {
- column: contrast_matrix[i]
- for i , column in enumerate(design_matrix.columns)
- }
- contrasts["positive"] = (contrasts["positive"])
- contrasts["negative"] = (contrasts["negative"])
- contrasts["neutral"] = (contrasts["neutral"])
- contrasts["positive - neutral"] = (contrasts["positive"] - contrasts["neutral"])
- contrasts["negative - neutral"] = (contrasts["negative"] - contrasts["neutral"])
- contrasts["positive - negative"] = (contrasts["positive"] - contrasts["negative"])
- contrasts["neutral - positive"] = (contrasts["neutral"] - contrasts["positive"])
- contrasts["neutral - negative"] = (contrasts["neutral"] - contrasts["negative"])
- contrasts["negative - positive"] = (contrasts["negative"] - contrasts["positive"])
- return contrasts
- # First level GLM analysis
- def first_level_glm(datadir, subject_id):
- print(f"Processing {datadir} subject {subject_id}...")
- fmri_glm = FirstLevelModel(t_r=2.5,
- noise_model='ar1',
- hrf_model='spm',
- drift_model='cosine',
- high_pass=1./128,
- smoothing_fwhm=6.0,
- signal_scaling=False,
- minimize_memory=False)
- # Paths to file
- fmri_img = f"{datadir}/sub-{subject_id}/func/sub-{subject_id}_task-kritiek_run-1_space-MNI152NLin2009cAsym_desc-preproc_bold.nii.gz"
- events_file = f"{outdir}/criticism_events.tsv"
- confounds_file = f"{datadir}/sub-{subject_id}/func/sub-{subject_id}_task-kritiek_run-1_desc-confounds_timeseries.tsv"
- # Load file
- events = pd.read_table(events_file)
- confounds = pd.read_table(confounds_file)
- confounds_glm = confounds.fillna(0)[['csf', 'white_matter', 'framewise_displacement', 'trans_x', 'trans_y', 'trans_z', 'rot_x', 'rot_y', 'rot_z']]
- # Fit model
- fmri_glm = fmri_glm.fit(fmri_img, events, confounds_glm)
- # Design matrix
- design_matrix = fmri_glm.design_matrices_[0]
- # Define contrasts
- contrasts = make_contrasts(design_matrix)
- # Compute and save z-map for each contrasts
- # compute the contrast as z map
- zmap_pos = fmri_glm.compute_contrast(contrasts["positive"], output_type='z_score')
- zmap_neg = fmri_glm.compute_contrast(contrasts["negative"], output_type='z_score')
- zmap_neu = fmri_glm.compute_contrast(contrasts["neutral"], output_type='z_score')
- zmap_pos_neu = fmri_glm.compute_contrast(contrasts["positive - neutral"], output_type='z_score')
- zmap_neg_neu = fmri_glm.compute_contrast(contrasts["negative - neutral"], output_type='z_score')
- zmap_pos_neg = fmri_glm.compute_contrast(contrasts["positive - negative"], output_type='z_score')
- zmap_neu_pos = fmri_glm.compute_contrast(contrasts["neutral - positive"], output_type='z_score')
- zmap_neu_neg = fmri_glm.compute_contrast(contrasts["neutral - negative"], output_type='z_score')
- zmap_neg_pos = fmri_glm.compute_contrast(contrasts["negative - positive"], output_type='z_score')
- # save the z map
- zmap_pos.to_filename(join(f'{outdir}/first_level/positive/sub-{subject}_task-kritiek_run-01_desc_pos_zmap.nii.gz'))
- zmap_neg.to_filename(join(f'{outdir}/first_level/negative/sub-{subject}_task-kritiek_run-01_desc_neg_zmap.nii.gz' ))
- zmap_neu.to_filename(join(f'{outdir}/first_level/neutral/sub-{subject}_task-kritiek_run-01_desc_neu_zmap.nii.gz'))
- zmap_pos_neu.to_filename(join(f'{outdir}/first_level/con001/sub-{subject}_task-kritiek_run-01_desc_pos-neu_zmap.nii.gz'))
- zmap_neg_neu.to_filename(join(f'{outdir}/first_level/con002/sub-{subject}_task-kritiek_run-01_desc_neg-neu_zmap.nii.gz'))
- zmap_pos_neg.to_filename(join(f'{outdir}/first_level/con003/sub-{subject}_task-kritiek_run-01_desc_pos-neg_zmap.nii.gz'))
- zmap_neu_pos.to_filename(join(f'{outdir}/first_level/con004/sub-{subject}_task-kritiek_run-01_desc_neu_pos_zmap.nii.gz'))
- zmap_neu_neg.to_filename(join(f'{outdir}/first_level/con005/sub-{subject}_task-kritiek_run-01_desc_neu_neg_zmap.nii.gz'))
- zmap_neg_pos.to_filename(join(f'{outdir}/first_level/con006/sub-{subject}_task-kritiek_run-01_desc_neg_pos_zmap.nii.gz'))
- # Output directory
- outdir = '/home/ghep/qiny/Age/nilearn_analysis'
- # Run first level glm for each participant in adolescent group
- datadir = '/home/ghep/qiny/Age/nifti/adolescents'
- subject_list = get_subject_ids(datadir)
- for subject_id in subject_list:
- subject = f'1{subject_id}'
- first_level_glm(datadir, subject_id)
- # Run first level glm for each participant in adult group
- datadir = '/home/ghep/qiny/Age/nifti/adults'
- subject_list = get_subject_ids(datadir)
- for subject_id in subject_list:
- subject = f'2{subject_id}'
- first_level_glm(datadir, subject_id)
GLM_firstlevel.py, no license · at the source
Overview
- Ghent Experimental Psychiatry (GHEP) lab, Faculty of Medicine and Health Sciences, Department of Head and Skin, Ghent University, Ghent, Belgium
- Department of Child and Adolescent Psychiatry, Vrije Universiteit Brussel (VUB), University Hospital Brussels (UZ Brussel), Brussels, Belgium
- Key Laboratory of Cognition and Personality, Faculty of Psychology, Southwest University, Chongqing, China
- Department of Experimental Clinical and Health Psychology, Ghent University, Ghent, Belgium
- Department of Psychiatry, University Hospital Brussel (UZ Brussel), Brussels, Belgium
- Neuroprotection and Neuromodulation Research Group (NEUR), Center for Neurosciences (C4N), Vrije Universiteit Brussel (VUB), Brussels, Belgium
- Department of Electrical Engineering, Eindhoven University of Technology, Eindhoven, the Netherlands
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 5 matches between paragraphs and lines of code.
OSF fr8mn
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
6 files
- DCM analysis/
DCM_VOI_extraction.m , MATLAB, 105 lines - DCM analysis/
Firstlevel_DCM.m , MATLAB, 128 lines, 1 match - DCM analysis/
Preparing_DCM_Denoising_ , Python, 62 lines, 1 matchdata.py - DCM analysis/
Preparing_DCM_GLM.m , MATLAB, 161 lines - DCM analysis/
Secondlevel_DCM_PEB.m , MATLAB, 49 lines, 1 match - GLM analysis/
GLM_firstlevel.py , Python, 131 lines, 2 matches
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;
- 6 scripts, each with its path and the digest of its content;
- 5 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.
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:
- it points to the authors' code: OSF fr8mn
- it says that the data are available on request
Read it in the paper: doi.org/10.1016/j.dcn.2026.101737.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 5 authors, 6 keywords, 14 MeSH terms, 12 funders, 113 references.
Cite
This paper
Chen, Q., Bonduelle, S. L. B., Wu, G.-R., De Raedt, R., & Baeken, C. (2026). Being praised and criticized in adolescents and adults: Age-related changes in neural responses to social evaluations. Developmental cognitive neuroscience, 80, 101737. https://
BibTeX
@article{chen2026being,
author = {Chen, Qinyuan and Bonduelle, Sam Luc Bart and Wu, Guo-Rong and De Raedt, Rudi and Baeken, Chris},
title = {{Being praised and criticized in adolescents and adults: Age-related changes in neural responses to social evaluations}},
journal = {Developmental cognitive neuroscience},
year = {2026},
month = may,
volume = {80},
pages = {101737},
publisher = {Elsevier},
issn = {1878-9293},
doi = {10.1016/
url = {https://
pmid = {42143546},
pmcid = {PMC13200081}
}
RIS
TY - JOUR
AU - Chen, Qinyuan
AU - Bonduelle, Sam Luc Bart
AU - Wu, Guo-Rong
AU - De Raedt, Rudi
AU - Baeken, Chris
TI - Being praised and criticized in adolescents and adults: Age-related changes in neural responses to social evaluations
T2 - Developmental cognitive neuroscience
J2 - Dev Cogn Neurosci
PY - 2026
DA - 2026/
VL - 80
SP - 101737
SN - 1878-9293
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Being praised and criticized in adolescents and adults: Age-related changes in neural responses to social evaluations",
"container-title": "Developmental cognitive neuroscience",
"author": [
{
"family": "Chen",
"given": "Qinyuan"
},
{
"family": "Bonduelle",
"given": "Sam Luc Bart"
},
{
"family": "Wu",
"given": "Guo-Rong"
},
{
"family": "De Raedt",
"given": "Rudi"
},
{
"family": "Baeken",
"given": "Chris"
}
],
"container-title-short":
"volume": "80",
"page": "101737",
"DOI": "10.1016/
"PMID": "42143546",
"PMCID": "PMC13200081",
"ISSN": "1878-9293",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
7
]
]
}
}
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.1016/j.dcn.2023.101264 [code]
- Developmental patterns and individual differences in responding to social feedback: A longitudinal fMRI study from childhood to adolescence.Journal: Developmental cognitive neuroscienceIn common: developmental, fMRI, 14 references
- [2] doi:10.1016/j.dcn.2024.101365 [code]
- Behavioral and neural responses to social rejection: Individual differences in developmental trajectories across childhood and adolescence.Journal: Developmental cognitive neuroscienceIn common: developmental, 14 references
- [3] doi:10.1093/scan/nsac039
- Development of social feedback processing and responses in childhood: an fMRI test-replication design in two age cohorts.Journal: Social cognitive and affective neuroscienceIn common: developmental, fMRI, 11 references
- [4] doi:10.1126/sciadv.adp8775 [code]
- Youths' sensitivity to social media feedback: A computational account.Journal: Science advancesIn common: 10 references
- [5] doi:10.1016/j.dcn.2023.101320
- Hooked on a thought: Associations between rumination and neural responses to social rejection in adolescent girls.Journal: Developmental cognitive neuroscienceIn common: developmental, fMRI, 7 references
- [6] doi:10.1016/j.dcn.2025.101664 [code]
- Neurodevelopmental correlates of emotion regulation in adolescence: An accelerated longitudinal study.Journal: Developmental cognitive neuroscienceIn common: fMRI, 7 references
- [7] doi:10.1016/j.dcn.2024.101499 [code]
- Neural correlates of vicarious reward processing and peer victimization experiences in late childhood.Journal: Developmental cognitive neuroscienceIn common: fMRI, 7 references
- [8] doi:10.1093/cercor/bhae280 [code]
- Get out of my head: social evaluative brain states carry over into post-feedback rest and influence remembering how others view us.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: Nilearn, pandas, NumPy, fMRI, 5 references
- [9] doi:10.1017/s0033291724002885 [code]
- Causal mechanisms of quadruple networks in pediatric bipolar disorder.Journal: Psychological medicineIn common: Nilearn, SPM, NumPy, fMRI, 5 references
- [10] doi:10.1016/j.dcn.2025.101526 [code]
- A longitudinal neuroimaging study of adolescent girls' mentalizing and perspective-taking tendencies.Journal: Developmental cognitive neuroscienceIn common: developmental, 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, 6 scripts, and 5 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:7b3eee477c63d68d…
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.1016/j.dcn.2026.101737)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101737.svg
:target: https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101737
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101737"><img src="https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101737.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
