Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities.
The 2 matches
- [1] § Materials and Methods › Data Analysis › Extraction of individual gestational age and birth weight data ↔ Code/ROIavg_Cond2vs1_HbR.Rmd, lines 163–269 · score 0.63 · 255–298 days, 2235–4535, 255 days, Gestational ages, birth weight
- [2] § Materials and Methods › Data Analysis › Extraction of individual gestational age and birth weight data ↔ Code/SingleChannels_Cond2vs1_HbR.Rmd, lines 261–367 · score 0.63 · 255–298 days, 2235–4535, 255 days, Gestational ages, birth weight
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 Markdown · 270 lines · 7.1 KB · no license · 1 match
- ---
- title: "Analysis: ROI-based - Condition 2 vs 1 - HbR"
- author: "Jessica Gemignani"
- date: "`r Sys.Date()`"
- output:
- html_document: default
- pdf_document: default
- ---
- ## *Understanding variability in full-term newborns' NIRS data: the impact of birth weight and gestational age on infants’ speech perception abilities*
- ### Neurophotonics (XXX bibliographic details to be added)
- Authors:
- Noémi Szeberényi (a,d), Judit Gervain (a,b,c), Jessica Gemignani (a,b) *
- a University of Padua, Department of Developmental Psychology and Socialization, Padua, Italy
- b Padova Neuroscience Center, Padua, Italy
- c Université Paris Cité & CNRS, Integrative Neuroscience and Cognition Center, Paris, France
- d Budapest University of Technology and Economics, Department of Cognitive Neuroscience, Budapest, Hungary
- *Correspondence: jessica.gemignani at unipd.it
- These scripts reproduce statistical analyses reported in the manuscript.
- ```{r setup, include=FALSE}
- knitr::opts_chunk$set(echo = TRUE)
- #libraries
- #libraries
- library(plyr)
- library(dplyr)
- library(lme4)
- library(psych)
- library(broom)
- library(car)
- library(ggplot2)
- #library(qqplotr)
- library(emmeans)
- library(leaps)
- library(lmerTest)
- library(magrittr)
- library(Matrix)
- library(olsrr)
- library(here)
- library(interactions)
- library(ggpubr)
- library(here)
- library(MuMIn)
- Final_Activations= read.csv(here::here('Full final data manuscript', 'Effects_RN_HbR_Final.csv'), sep = ",")
- # I'll call them again AvgAct only so I can recycle the script, but this time these are actually effect sizes (yi)
- Final_Activations$AvgAct = Final_Activations$yi;
- ```
- # Preparation
- Define categorical and numerical variables. Rename columns.
- ```{r, include=TRUE}
- # Define categorical variables (not numericals)
- Final_Activations$ROI= as.factor(Final_Activations$ROI)
- Final_Activations$Hemisphere= as.factor(Final_Activations$Hemisphere)
- Final_Activations$SubjectID= as.factor(Final_Activations$SubjectID)
- Final_Activations$ExperimentName= as.factor(Final_Activations$ExperimentName)
- Final_Activations$Age.Test= as.numeric(Final_Activations$Age.Test)
- Final_Activations$Birth.Weight= as.numeric(Final_Activations$Birth.Weight)
- Final_Activations$GA.in.days= as.numeric(Final_Activations$GA.in.days)
- names(Final_Activations)[names(Final_Activations) == "GA.in.days"]= "GA"
- names(Final_Activations)[names(Final_Activations) == "Birth.Weight"]= "BW"
- names(Final_Activations)[names(Final_Activations) == "Age.Test"]= "Days"
- ```
- # Model selection: random effects
- ```{r, include=TRUE}
- # Remove rows displaying NaN in any of these cells, otherwise it won't be able to compare model
- vars <- c("AvgAct", "BW", "GA", "ROI", "Hemisphere", "SubjectID", "Days")
- data_filt <- na.omit(Final_Activations[, vars])
- # Compare these null_models in terms of AIC and explained variance
- null_model1 = lmer(AvgAct~(1|SubjectID),data= data_filt,REML = FALSE)
- null_model2= lmer(AvgAct~(1|SubjectID)+ (1|SubjectID:ROI) ,data= data_filt,REML = FALSE)
- AIC(null_model1, null_model2)
- # Null_model2 selected: (1|SubjectID)+ (1|SubjectID:ROI)
- ```
- # Model selection: fixed effects
- Note: run only once because it takes forever, then extract best_model and paste it in the next chunk (var: "selected_full").
- ```{r, include=TRUE}
- # global_model <- lmer(
- # AvgAct ~ BW + GA + Days + ROI + Hemisphere +
- # BW:ROI + GA:ROI + Days:ROI +
- # BW:Hemisphere + GA:Hemisphere + Days:Hemisphere + ROI:Hemisphere +
- # BW:ROI:Hemisphere + GA:ROI:Hemisphere + Days:ROI:Hemisphere +
- # (1|SubjectID) + (1|SubjectID:ROI) ,
- # data = data_filt,
- # REML = FALSE,
- # control = lmerControl(check.scaleX = "ignore")
- # )
- #
- # options(na.action = "na.fail")
- # dd <- dredge(global_model) # these are all possible models, returned in terms of ascending AIC
- #
- # # Select the top N models displaying very similar AIC
- # top_models <- get.models(dd, subset = delta < 3)
- #
- # # Keep only models with at least 1 fixed effect (otherwise it will frequently return the random only one)
- #
- # top_models <- Filter(function(m) {
- # length(lme4::fixef(m)) > 1 # >1 because intercept is always included
- # }, top_models)
- #
- # # Among the top N models, select the least complex:
- #
- # get_complexity <- function(fm) {
- # length(lme4::fixef(fm)) + length(lme4::VarCorr(fm))
- # }
- #
- # complexity <- sapply(top_models, get_complexity)
- #
- # # Best model:
- # best_model <- top_models[[which.min(complexity)]]
- #
- # selected_full= best_model
- ```
- # Refit best model with REML + anova
- ```{r, include=TRUE}
- options(na.action = "na.omit")
- selected_full= lmer( AvgAct ~ BW + GA + ROI + BW:ROI + GA:ROI + (1 | SubjectID) + (1 | SubjectID:ROI), data= data_filt, REML = TRUE)
- anova(selected_full)
- ```
- # Main effect of ROI
- ```{r, include=TRUE}
- emmeans(selected_full, pairwise ~ ROI)
- ```
- # Interaction GA x ROI and BW x ROI
- ```{r, include=TRUE}
- ####
- # Slopes GA x ROI:
- slopesGAxROI= emtrends(selected_full, pairwise ~ ROI, var = "GA")
- slopesGAxROI
- slopesBWxROI= emtrends(selected_full, pairwise ~ ROI, var = "BW")
- slopesBWxROI
- # Only to create plot:
- grid <- emmeans(selected_full, ~ GA * ROI,
- at = list(GA = seq(255, 298, length.out = 100)))
- grid_df <- as.data.frame(grid)
- # plot
- p_ga <- ggplot(grid_df, aes(x = GA, y = emmean, color = ROI)) +
- geom_line(linewidth = 1) + # <- ONLY solid lines here
- geom_ribbon(aes(ymin = lower.CL, ymax = upper.CL, fill = ROI),
- alpha = 0.15, color = NA) +
- scale_color_manual(values = c("#00BFC4", "#F8766D")) +
- scale_fill_manual(values = c("#00BFC4", "#F8766D")) +
- theme_bw() +
- theme(
- legend.position = "bottom",
- text = element_text(size = 25)
- ) +
- labs(
- x = "Gestational Age (days)",
- y = "Linear prediction (mmol x mm)"
- ) +
- geom_hline(yintercept = 0, linetype = "dashed") +
- coord_cartesian(ylim = c(-0.6, 0.6),
- xlim = c(255, 298)) +
- theme(plot.margin = margin(t = 10, r = 20, b = 10, l = 10, "pt")) # Add bottom margin
- # show
- p_ga
- # save file
- ggsave("ROIavg_RvsN_HbR_GAxROI.png",
- plot = p_ga,
- width = 25,
- height = 20,
- units = "cm",
- dpi = 300)
- # #####
- # #BW:
- #
- # Only to create plot:
- grid <- emmeans(selected_full, ~ BW * ROI,
- at = list(BW = seq(2235, 4535, length.out = 100)))
- grid_df <- as.data.frame(grid)
- # plot
- p_bw <- ggplot(grid_df, aes(x = BW, y = emmean, color = ROI)) +
- geom_line(linewidth = 1) + # <- ONLY solid lines here
- geom_ribbon(aes(ymin = lower.CL, ymax = upper.CL, fill = ROI),
- alpha = 0.15, color = NA) +
- scale_color_manual(values = c("#00BFC4", "#F8766D")) +
- scale_fill_manual(values = c("#00BFC4", "#F8766D")) +
- theme_bw() +
- theme(
- legend.position = "bottom",
- text = element_text(size = 25)
- ) +
- labs(
- x = "Birth weight (gr)",
- y = "Linear prediction (mmol x mm)"
- ) +
- geom_hline(yintercept = 0, linetype = "dashed") +
- coord_cartesian(ylim = c(-0.6, 0.6),
- xlim = c(2235, 4535)) +
- theme(plot.margin = margin(t = 10, r = 20, b = 10, l = 10, "pt")) # Add bottom margin
- # show
- p_bw
- # save file
- ggsave("ROIavg_RvsN_HbR_BWxROI.png",
- plot = p_bw,
- width = 25,
- height = 20,
- units = "cm",
- dpi = 300)
- ```
ROIavg_Cond2vs1_HbR.Rmd, no license · at the source
Overview
- University of Padua, Department of Developmental Psychology and Socialisation, Padua, Italy
- Budapest University of Technology and Economics, Department of Cognitive Science, Budapest, Hungary
- Padova Neuroscience Center, Padua, Italy
- Université Paris Cité & CNRS, Integrative Neuroscience and Cognition Center, Paris, France
Abstract
Significance: Language acquisition is a complex process already influenced by prenatal neural development and auditory experiences. From the onset of the third trimester, fetuses perceive sounds already influencing the fetal brain.
Aim: The study investigates how the length of intrauterine language exposure, indexed by gestational age (GA), and overall maturation, indexed by birth weight (BW), affect full-term newborns’ brain responses to linguistic stimuli.
Approach: Data from 14 near-infrared spectroscopy studies testing responses to different auditory sound patterns in 192 0- to 7-day-old newborns were pooled together and analyzed to assess the impact of GA and BW on changes in oxygenated hemoglobin (HbO) and deoxygenated hemoglobin (HbR).
Results: Results showed that, for HbO, activations in both considered conditions were larger in the temporal than in the frontal areas, irrespective of BW or GA. A similar spatial pattern was observed for HbR, with stronger responses in the temporal compared with frontal regions across conditions. In contrast, when considering effect sizes and reflecting discrimination abilities, these were more strongly associated with BW in the bilateral frontal regions, whereas in the bilateral temporal regions, they were more strongly associated with GA.
Conclusions: The findings suggest a differential impact of BW and GA on neural measures of linguistic sensitivity in newborns, reflecting their roles in biological maturation and auditory experience, respectively. Overall, the study suggests that both the length of prenatal experience and maturation play significant roles in shaping newborns’ hemodynamic responses.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.
OSF 6mzqp
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
12 files
- Code/
ROIavg_Cond1vs0_HbO.Rmd , R, 273 lines - Code/
ROIavg_Cond1vs0_HbR.Rmd , R, 240 lines - Code/
ROIavg_Cond2vs0_HbO.Rmd , R, 244 lines - Code/
ROIavg_Cond2vs0_HbR.Rmd , R, 241 lines - Code/
ROIavg_Cond2vs1_HbO.Rmd , R, 150 lines - Code/
ROIavg_Cond2vs1_HbR.Rmd , R, 270 lines, 1 match - Code/
SingleChannels_Cond1vs0_ , R, 358 linesHbO.Rmd - Code/
SingleChannels_Cond1vs0_ , R, 529 linesHbR.Rmd - Code/
SingleChannels_Cond2vs0_ , R, 356 linesHbO.Rmd - Code/
SingleChannels_Cond2vs0_ , R, 454 linesHbR.Rmd - Code/
SingleChannels_Cond2vs1_ , R, 267 linesHbO.Rmd - Code/
SingleChannels_Cond2vs1_ , R, 367 lines, 1 matchHbR.Rmd
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;
- 12 scripts, each with its path and the digest of its content;
- 2 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
The codes used for all statistical analyses reported in this study, along with their results, are available at https://
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, 3 authors, 5 keywords, 7 funders, 54 references.
Cite
This paper
Szeberényi, N. P., Gervain, J., & Gemignani, J. (2026). Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities. Neurophotonics, 13(3), 035001. https://
BibTeX
@article{szeberenyi2026u
author = {Szeberényi, Noémi Petra and Gervain, Judit and Gemignani, Jessica},
title = {{Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities}},
journal = {Neurophotonics},
year = {2026},
month = jul,
volume = {13},
number = {3},
pages = {035001},
publisher = {Society of Photo-Optical Instrumentation Engineers},
issn = {2329-423X},
doi = {10.1117/
url = {https://
pmid = {42441174},
pmcid = {PMC13336347}
}
RIS
TY - JOUR
AU - Szeberényi, Noémi Petra
AU - Gervain, Judit
AU - Gemignani, Jessica
TI - Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities
T2 - Neurophotonics
J2 - Neurophotonics
PY - 2026
DA - 2026/
VL - 13
IS - 3
SP - 035001
SN - 2329-423X
PB - Society of Photo-Optical Instrumentation Engineers
DO - 10.1117/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1117/
"type": "article-journal",
"title": "Understanding variability in full-term newborns' fNIRS data: the impact of birth weight and gestational age on infants' speech perception abilities",
"container-title": "Neurophotonics",
"author": [
{
"family": "Szeberényi",
"given": "Noémi Petra"
},
{
"family": "Gervain",
"given": "Judit"
},
{
"family": "Gemignani",
"given": "Jessica"
}
],
"container-title-short":
"volume": "13",
"issue": "3",
"page": "035001",
"DOI": "10.1117/
"PMID": "42441174",
"PMCID": "PMC13336347",
"ISSN": "2329-423X",
"publisher": "Society of Photo-Optical Instrumentation Engineers",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
6
]
]
}
}
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.2026.101782 [code]
- Do babies perceive cries as speech?Journal: Developmental cognitive neuroscienceIn common: fNIRS, 15 references, author Jessica Gemignani
- [2] doi:10.1038/s44271-026-00451-6 [code]
- Singing to the newborn brain uncovers early traces of specialized neural networks.Journal: Communications psychologyIn common: 9 references, author Jessica Gemignani
- [3] doi:10.1093/braincomms/fcag279 [code]
- Network flexibility facilitates treatment-induced recovery in post-stroke aphasia.Journal: Brain communicationsIn common: psych, car, broom, 6 other tools
- [4] doi:10.1073/pnas.2606871123 [code]
- Oxytocin modulates the neurocomputational mechanisms engaged in learning rank relationships in social networks.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: psych, car, broom, 6 other tools
- [5] doi:10.1016/j.nicl.2026.104053 [code]
- Childhood white matter organization predicts adolescent internalizing problems among youth with and without ADHD.Journal: NeuroImage. ClinicalIn common: psych, broom, emmeans, 5 other tools, developmental
- [6] doi:10.1038/s41398-026-04010-9 [code]
- Bullying victimization and brain development: a longitudinal structural magnetic resonance imaging study from adolescence to early adulthood.Journal: Translational psychiatryIn common: psych, broom, emmeans, 5 other tools, developmental
- [7] doi:10.1111/desc.70214
- Hemodynamic Responses to Word Forms in Japanese Infant-Directed Vocabulary in 5- and 9-Month-Old Infants: Early Sensitivity to Prosodic Structure and Emergence of Prosodic Representations.Journal: Developmental scienceIn common: fNIRS, developmental, 6 references
- [8] doi:10.1126/sciadv.aec9291 [code]
- Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.Journal: Science advancesIn common: psych, car, broom, 5 other tools
- [9] doi:10.1371/journal.pone.0353990 [code]
- Positive mood enhances accessibility of unrelated concepts in the first language but not in the foreign language.Journal: PloS oneIn common: psych, car, emmeans, 5 other tools
- [10] doi:10.1016/j.neuroimage.2026.122115 [code]
- Midfrontal theta power relates to response speeding following frustrative nonreward.Journal: NeuroImageIn common: psych, car, emmeans, 5 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.
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, 12 scripts, and 2 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:aba1a972c67c2921…
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
[.
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.
