OSCR

Increased sensitivity in identifying language-related functional connectivity using jackknife resampling analyses.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 234 lines · 7.4 KB · no license

  1. # ******************ADEBIYI SOBITAN, PH.D.*****************
  2. # March. 10, 2025
  3. # This script performs Linear Mixed Model for Edges in the Left Hemisphere
  4. # generate violin plots for All and significant Edges
  5. setwd("C:/Users/sobitanab/Documents/Ade/Edges_2025")
  6. chooseCRANmirror(ind=1)
  7. # Install and access necessary packages
  8. install.packages(c("tidyverse", "factoextra", "ggplot2", "readxl","car","reshape2","psych","lme4","FactoMineR"))
  9. install.packages(c("lmerTest","sjPlot", "lattice", "dplyr","factoextra", "stringr", "ggpubr", "ggcorrplot"))
  10. library(sjPlot)
  11. library(lattice)
  12. library(tidyverse)
  13. library(readxl)
  14. library(car)
  15. library(reshape2)
  16. library(psych)
  17. library(lme4)
  18. library(FactoMineR)
  19. library(ggplot2)
  20. library(dplyr)
  21. library(factoextra)
  22. library(stringr)
  23. library(ggpubr)
  24. library(ggcorrplot)
  25. library(lmerTest)
  26. data_dir<- "C:/Users/sobitanab/Documents/Ade/Edges_2025"
  27. subject_folders<- list.dirs(data_dir, full.names=TRUE, recursive=FALSE)
  28. gender_mapping<- read_csv("C:/Users/sobitanab/Documents/Ade/Edges_2025/gender_mapfile2.csv")
  29. #head(gender_mapping)
  30. all_data<- list()
  31. for (folder in subject_folders) {
  32. # Construct each subject path
  33. subject_id<- basename(folder)
  34. # modify line below for different hemisphere
  35. file_pattern<- paste0(subject_id,"_jackknife_sigConn_aparc35_node2vec/",subject_id,"_jackknife_sigConn_aparc35_LH_analysis_results.xlsx")
  36. file_path<- file.path(folder, pattern = file_pattern)
  37. # check if excel file exist
  38. if (length(file_path)==0) {
  39. cat("File does not exist for:", subject_id, "\n")
  40. next
  41. }
  42. # Read sheet data
  43. sheet2_data <- read_excel(file_path, sheet = "Edges and Weights")
  44. # Combine
  45. patient_data<- sheet2_data %>%
  46. mutate(
  47. PatientID = subject_id,
  48. NodeID = rep(1:nrow(sheet2_data))
  49. )
  50. # Append to the list
  51. all_data[[subject_id]] <- patient_data
  52. }
  53. # combine into a single data frame
  54. if (length(all_data) > 0) {
  55. combined_data_LH <- bind_rows(all_data)
  56. } else {
  57. stop("No data was loaded. Please check file paths.")
  58. }
  59. str(combined_data_LH)
  60. combined_data_LH<- combined_data_LH %>%
  61. mutate(PatientID = as.character(PatientID))
  62. gender_mapping<- gender_mapping %>%
  63. mutate(PatientID = as.character(PatientID))
  64. # Filter
  65. filtered_gender_mapping<- gender_mapping %>%
  66. filter(as.character(PatientID) %in% combined_data_LH$PatientID)
  67. # Merge with gender information
  68. combined_data_LH <- combined_data_LH %>%
  69. left_join(filtered_gender_mapping, by = "PatientID")
  70. # Check if gender information was successfully added
  71. if(any(is.na(combined_data_LH$Gender))){
  72. stop("Some patients are missing gender information.")
  73. # Check if all rows have been merged successfully
  74. if(any(is.na(combined_data))){
  75. cat("Some rows are missing data after merging. Please check the input files.\n")
  76. }
  77. }
  78. combined_data_LH$SSAGA_Educ.2<- as.character(combined_data_LH$SSAGA_Educ.2)
  79. head(combined_data_LH)
  80. # merge Source and Target columns into one
  81. new_data_LH <- combined_data_LH %>%
  82. mutate(Edges = paste(Source, Target, sep = "-"))
  83. head(new_data_LH)
  84. write.csv(new_data_LH, file="combined_LH_2.csv")
  85. # LMMs for each Node
  86. # Fit models for each node
  87. results_LH <- new_data_LH %>%
  88. group_by(Edges) %>%
  89. summarise(
  90. Model = list(
  91. tryCatch(
  92. lmer(Weight ~ Gender + Age + Handedness + SSAGA_Educ.2 +(1 | PatientID), data = cur_data(),
  93. control=lmerControl(optimizer="bobyqa", optCtrl=list(maxfun=10000))),
  94. error = function(e)NULL
  95. )
  96. ),
  97. GenderEffect = if(!is.null(Model[[1]])){
  98. coef_summary<- summary(Model[[1]])$coefficients
  99. if ("GenderMale" %in% rownames(coef_summary)){
  100. coef_summary["GenderMale", "Estimate"]
  101. } else {
  102. NA
  103. }
  104. } else {
  105. NA
  106. },
  107. PValue = if(!is.null(Model[[1]])){
  108. coef_summary<- summary(Model[[1]])$coefficients
  109. if ("GenderMale" %in% rownames(coef_summary)){
  110. coef_summary["GenderMale", "Pr(>|t|)"]
  111. } else {
  112. NA
  113. }
  114. } else {
  115. NA
  116. }
  117. )
  118. #print("Summary of Results for Each Node:")
  119. print(results_LH)
  120. results_LH<- results_LH[, !sapply(results_LH, is.list)]
  121. write.csv(results_LH, file="LH_LMM_Edges.csv")
  122. plot_LH_Edges_data <- new_data_LH %>%
  123. group_by(Edges, Gender) %>%
  124. summarise(
  125. Mean = mean(Weight, na.rm = TRUE),
  126. SE = sd(Weight, na.rm = TRUE) / sqrt(n()),
  127. .groups = "drop"
  128. )
  129. #ggplot(plot_RH_Edges_data, aes(x = Edges, y = Mean, fill = Gender)) +
  130. ggplot(new_data_LH, aes(x = Edges, y = Weight, fill = Gender)) +
  131. geom_violin(alpha=0.6, trim = FALSE, position = position_dodge(0.8)) +
  132. #geom_boxplot(width=0.2, position=position_dodge(0.8), outlier.shape=NA, alpha=0.8)+
  133. #geom_bar(stat = "identity", position = position_dodge(0.8), width = 0.7) +
  134. #geom_errorbar(data=plot_LH_Edges_data, aes(x= Edges,ymin = Mean - SE, ymax = Mean + SE, color=Gender, group=Gender),
  135. # position = position_dodge(0.8), width = 0.25) +
  136. scale_fill_manual(values=c("Male" = "blue", "Female" = "red")) +
  137. scale_color_manual(values=c("Male" = "blue", "Female" = "red")) +
  138. labs(
  139. title = "Gender Differences for Brain Connections in the Left Hemisphere",
  140. x = "Brain Connections in the Left Hemisphere",
  141. y = "Mean ± SE"
  142. ) +
  143. theme_minimal() +
  144. theme(
  145. axis.text.x=element_text(angle=90, hjust=1),
  146. legend.title = element_blank(),
  147. panel.grid = element_blank()
  148. ) +
  149. geom_text(data = results_LH, aes(x = Edges, y = max(new_data_LH$Weight) + 0.2,
  150. label = ifelse(PValue < 0.05, "*", "")),
  151. inherit.aes = FALSE)
  152. #inherit.aes = FALSE, size = 5, color = "black")
  153. ggsave(file = "RH_Edges31325.jpg", dpi = 300)
  154. # Filter
  155. sig_LH_Edges<- results_LH %>% filter(PValue<0.05) %>% pull (Edges)
  156. #Subset
  157. LH_edges_filtered<- new_data_LH %>% filter(Edges %in% sig_LH_Edges)
  158. # stats for filtered dat
  159. filter_LH_Edges <- LH_edges_filtered %>%
  160. group_by(Edges, Gender) %>%
  161. summarise(
  162. Mean = mean(Weight, na.rm = TRUE),
  163. SE = sd(Weight, na.rm = TRUE) / sqrt(n()),
  164. .groups = "drop"
  165. )
  166. gender_colors<- c("Male" = "blue"
  167. ggplot(LH_edges_filtered, aes(x = Edges, y = Weight, fill = Gender)) +
  168. geom_violin(alpha=0.6, trim = FALSE, position = position_dodge(0.8)) +
  169. geom_boxplot(width=0.2, position=position_dodge(0.8), outlier.shape=NA, alpha=0.8)+
  170. #geom_bar(stat = "identity", position = position_dodge(0.8), width = 0.7) +
  171. #geom_errorbar(data=plot_RH_Edges_data, aes(x= Edges,ymin = Mean - SE, ymax = Mean + SE, color=Gender, group=Gender),
  172. # position = position_dodge(0.8), width = 0.25) +
  173. scale_fill_manual(values=c("Male" = "blue", "Female" = "red")) +
  174. scale_color_manual(values=c("Male" = "blue", "Female" = "red")) +
  175. labs(
  176. title = "Gender Differences in the Left Hemisphere",
  177. x = "Brain Connections in the Left Hemisphere",
  178. y = "Weight (Correlation strength)"
  179. ) +
  180. theme_minimal() +
  181. theme(
  182. axis.text.x=element_text(size=7,angle=90, hjust=1),
  183. legend.title = element_blank(),
  184. panel.grid = element_blank()
  185. )
  186. +
  187. geom_text(data = sig_Edges, aes(x = Edges, y = max(edges_filtered$Weight) + 0.2,
  188. label = ifelse(PValue < 0.05, "*", "")),
  189. inherit.aes = FALSE)
  190. ggsave(file = "sig_LH_Edges.jpg", dpi = 300)

LH_Edges_violin (1).R at commit 359a1b8, no license · at the source

Overview

Authors: Jinqing Liang1, Divesh Thaploo1, Adebiyi Sobitan1, Kristen Wingert1, Atsuko Kurosu1, Stein Acker1, Ahmad Shafiei1, Ninet Sinaii2, Nadia M Biassou1,3
  1. The Integrative Neuroscience of Communication Research Unit, National Institute on Deafness and Other Communication Disorders, Bethesda, MD, USA
  2. Biostatistics and Clinical Epidemiology Service, National Institutes of Health Clinical Center, Bethesda, MD, USA
  3. Division of Neuroradiology, National Institutes of Health, Clinical Center Department of Radiology and Imaging Sciences, Bethesda, MD, USA
Journal: Network neuroscience (Cambridge, Mass.), volume 10, issue 2, pages 267-280
Dates: received 8 July 2025; accepted 1 December 2025; published online 22 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1162/netn.a.536 · PMID 42039102 · PMCID PMC13108337 · OpenAlex W7111081105
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism)
Methods: Connectivity, Statistics, Smoothing, state filtering, decompositions, fMRI & imaging
Keywords: Task-based fMRI, Static functional connectivity (traditional), Common connection, Jackknife analysis, Spearman, Pearson, Bonferroni correction
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institute on Deafness and Other Communication Disorders (Intramural Research Program Funding); NIH Clinical Center (ZIA CL090077)
Citations: not cited yet (Europe PMC); 38 references in the paper

Abstract

Functional connectivity (FC) analyses of task-based fMRI (tbfMRI) often rely on static correlation methods that average signal relationships over time. While widely used, these methods may miss transient but meaningful neural interactions. In this study, we investigated whether jackknife resampling—a technique that systematically omits one time point at a time—enhances sensitivity in detecting language-related FC networks during an auditory comprehension task. We analyzed surface-based FC networks in 172 healthy young adults from the Human Connectome Project. FC matrices were computed across 68 cortical regions of interest, and statistically significant edges were identified using Bonferroni correction. We compared FC networks derived from a traditional static correlation approach with those obtained using jackknife resampling, applying an edge consistency threshold to retain only the most stable connections across time points. The static method identified 75 significant language-related FCs. Jackknife-based analyses recovered all of these and revealed 24 additional connections or edges (eight left-hemispheric, five right-hemispheric, 11 interhemispheric; p < 0.001), including well-established language regions such as the middle temporal gyrus and posterior cingulate cortex. Jackknife resampling enhances detection of robust, task-relevant FCs, offering a promising alternative for modeling language networks and improving neurocomputational representations in both research and clinical settings.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

dthaploo/thinc_labs

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 359a1b879d78b6c8b353187717b5e9bc33fc3384, 29 August 2025
Languages: R (6)
Size: 16 files, 6 scripts
Software Heritage: not archived
Found in: “Data and Code Availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (6 files), car (5 files), ggplot2 (5 files), ggpubr (5 files), lme4 (5 files), lmerTest (5 files), psych (5 files), reshape2 (5 files)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
7 files

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;
  • 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 and Code Availability

The data used in this paper are freely available from https://db.humanconnectome.org/ (requires free registration). All code for this paper is available at Github: THINC_LABS/NN_paper at master dthaploo/THINC_LABS (https://github.com/dthaploo/THINC_LABS/tree/master/NN_paper).

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

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 7 keywords, 2 funders, 38 references.

Cite

This paper

Liang, J., Thaploo, D., Sobitan, A., Wingert, K., Kurosu, A., Acker, S., Shafiei, A., Sinaii, N., & Biassou, N. M. (2026). Increased sensitivity in identifying language-related functional connectivity using jackknife resampling analyses. Network neuroscience (Cambridge, Mass.), 10(2), 267-280. https://doi.org/10.1162/netn.a.536

BibTeX

@article{liang2026increased,
author = {Liang, Jinqing and Thaploo, Divesh and Sobitan, Adebiyi and Wingert, Kristen and Kurosu, Atsuko and Acker, Stein and Shafiei, Ahmad and Sinaii, Ninet and Biassou, Nadia M},
title = {{Increased sensitivity in identifying language-related functional connectivity using jackknife resampling analyses}},
journal = {Network neuroscience (Cambridge, Mass.)},
year = {2026},
month = apr,
volume = {10},
number = {2},
pages = {267--280},
publisher = {MIT Press},
issn = {2472-1751},
doi = {10.1162/netn.a.536},
url = {https://doi.org/10.1162/netn.a.536},
pmid = {42039102},
pmcid = {PMC13108337}
}

RIS

TY - JOUR
AU - Liang, Jinqing
AU - Thaploo, Divesh
AU - Sobitan, Adebiyi
AU - Wingert, Kristen
AU - Kurosu, Atsuko
AU - Acker, Stein
AU - Shafiei, Ahmad
AU - Sinaii, Ninet
AU - Biassou, Nadia M
TI - Increased sensitivity in identifying language-related functional connectivity using jackknife resampling analyses
T2 - Network neuroscience (Cambridge, Mass.)
J2 - Netw Neurosci
PY - 2026
DA - 2026/04/22
VL - 10
IS - 2
SP - 267
EP - 280
SN - 2472-1751
PB - MIT Press
DO - 10.1162/netn.a.536
UR - https://doi.org/10.1162/netn.a.536
LA - en
ER -

CSL-JSON

{
"id": "10.1162/netn.a.536",
"type": "article-journal",
"title": "Increased sensitivity in identifying language-related functional connectivity using jackknife resampling analyses",
"container-title": "Network neuroscience (Cambridge, Mass.)",
"author": [
{
"family": "Liang",
"given": "Jinqing"
},
{
"family": "Thaploo",
"given": "Divesh"
},
{
"family": "Sobitan",
"given": "Adebiyi"
},
{
"family": "Wingert",
"given": "Kristen"
},
{
"family": "Kurosu",
"given": "Atsuko"
},
{
"family": "Acker",
"given": "Stein"
},
{
"family": "Shafiei",
"given": "Ahmad"
},
{
"family": "Sinaii",
"given": "Ninet"
},
{
"family": "Biassou",
"given": "Nadia M"
}
],
"container-title-short": "Netw Neurosci",
"volume": "10",
"issue": "2",
"page": "267-280",
"DOI": "10.1162/netn.a.536",
"PMID": "42039102",
"PMCID": "PMC13108337",
"ISSN": "2472-1751",
"publisher": "MIT Press",
"URL": "https://doi.org/10.1162/netn.a.536",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
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.1038/s41467-026-73262-2 [code]
Robust but independent sex differences in human brain function, structure, and behavior.
Journal: Nature communications
In common: car, lmerTest, lme4, 4 other tools, 3 references
[2] doi:10.1093/braincomms/fcag279 [code]
Network flexibility facilitates treatment-induced recovery in post-stroke aphasia.
Journal: Brain communications
In common: psych, car, lmerTest, 5 other tools, fMRI, 1 reference
[3] doi:10.1016/j.nicl.2026.104012 [code]
Structural-functional multilayer brain network properties and outcome of combined repetitive transcranial magnetic stimulation and psychotherapy for obsessive-compulsive disorder.
Journal: NeuroImage. Clinical
In common: psych, car, lmerTest, 5 other tools, fMRI, 1 reference
[4] doi:10.1093/braincomms/fcag121 [code]
Anterior insular co-activation patterns associated with stress markers in chronic primary pain.
Journal: Brain communications
In common: psych, car, lmerTest, 5 other tools, fMRI
[5] doi:10.1162/imag.a.1246 [code]
A 3.5-minute-long reading-based fMRI localizer for the language network.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: lmerTest, lme4, tidyverse, fMRI, 5 references
[6] doi:10.1002/hbm.70559 [code]
Replicability of Functional Brain Networks: A Study Through the Lens of Seven Resting-State Networks.
Journal: Human brain mapping
In common: lmerTest, lme4, reshape2, 3 other tools, fMRI, 3 references
[7] doi:10.1038/s41467-026-72934-3 [code]
Multi-focal ultrasound neuromodulation to the dorsal anterior cingulate cortex disrupts behavioural and neural pain processing.
Journal: Nature communications
In common: car, lmerTest, lme4, 4 other tools, fMRI, 1 reference
[8] 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 one
In common: psych, car, lmerTest, 5 other tools
[9] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: psych, car, lmerTest, 5 other tools
[10] 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 America
In common: psych, car, lmerTest, 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.

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.