Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition.
11 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 13 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Results › Relative Performance of Topological Networks Across Models ↔ jobs/s9.overall_gls_model.r, lines 247 to 287 · score 0.91 · GLOB_EFF, Cycle Strength, Backbone Dispersion, Backbone Strength, Minimum Spanning Tree, Persistent Homology · block
oscr:b:MA7RTNVFV0B01-Z· Report a mismatch - [2] § Results › Relative Performance of Topological Networks Across Models ↔ jobs/s6_all_cog_analysis.r, lines 305 to 349 · score 0.91 · Cycle Strength, Backbone Dispersion, Backbone Strength, Minimum Spanning Tree, Persistent Homology, Leaf fraction · block
oscr:b:PN8DT849GWSA7-6· Report a mismatch - [3] § Results › Task‐Specific Effect of Network Topology on Cognitive Performance ↔ jobs/s7a_FDRplot.r, lines 1 to 65 · score 0.87 · cognition crystallised composite, cognition fluid composite, survived FDR correction, vocabulary comprehension, episodic memory, fluid intelligence · block
oscr:b:SGT7S7S5SQTP1-V· Report a mismatch - [4] § Results › Relative Performance of Topological Networks Across Models ↔ jobs/s5.model_data_prep.r, the whole file · a weak match · score 0.80 · Cognition Crystallised Composite, Vocabulary Comprehension, Fluid intelligence, Penn Progressive Matrices, Sustained Attention, Cognitive Flexibility · block
oscr:b:YCW32DKC5YJ5D-N· Report a mismatch - [5] § Results › Task‐Specific Effect of Network Topology on Cognitive Performance ↔ jobs/s5.model_data_prep.r, the whole file · a weak match · score 0.79 · cognition crystallised composite, cognition fluid composite, vocabulary comprehension, fluid intelligence, spatial orientation, working memory · block
oscr:b:YCW32DKC5YJ5D-N· Report a mismatch - [6] § Results › Relative Performance of Topological Networks Across Models ↔ jobs/s7a_FDRplot.r, lines 1 to 65 · score 0.71 · Cognition Crystallised Composite, Penn Progressive Matrices, Vocabulary Comprehension, Fluid intelligence, regulation, FDR · block
oscr:b:SGT7S7S5SQTP1-V· Report a mismatch - [7] § Materials and Methods › Topological Measures ↔ jobs/s4_network_measures.r, lines 46 to 108 · score 0.68 · single linkage, FC matrices, distance, density, sum, nodes · block
oscr:b:YKSEZFGYHBEE3-N· Report a mismatch - [8] § Materials and Methods › Statistics ↔ jobs/s9.overall_gls_model.r, lines 103 to 143 · score 0.66 · log transforming, nlme, heteroscedasticity, GLS, variance, pR · block
oscr:b:QEKV8554WQ9BP-I· Report a mismatch - [9] § Materials and Methods › Functional Connectome Building ↔ jobs/s4_network_measures.r, lines 1 to 44 · score 0.64 · negative edges, FC matrix, fisher, concatenated, transformed, correlations · block
oscr:b:H6EQQM01X8SA2-D· Report a mismatch - [10] § Materials and Methods › Statistics ↔ jobs/s8.overall_chisq.r, lines 1 to 42 · score 0.64 · post hoc, Chi square, cells, residuals, predictive, network · block
oscr:b:YQ8VR8NNJPJ1J-4· Report a mismatch - [11] § Materials and Methods › Statistics ↔ jobs/s6_all_cog_analysis.r, lines 160 to 248 · score 0.60 · participant_id, nlme, formula, variance, errors, multicollinearity · block
oscr:b:5DA2W2WVYDQ66-A· Report a mismatch - [12] § Materials and Methods › Statistics ↔ jobs/s9.overall_gls_model.r, lines 1 to 56 · score 0.56 · Durbin Watson, VIF, tolerance, multicollinearity, residual, squared · block
oscr:b:XG0H23QT3TC1B-F· Report a mismatch - [13] § Materials and Methods › Statistics ↔ jobs/DevContrStats_gls.r, lines 97 to 179 · score 0.55 · contr.sum, categorical variable, intercepts, grand · block
oscr:b:G7E46Q950M0ZY-A· 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 · 406 lines · 18 KB · no license · 3 matches
- #This script tests the effect of network measures on their respective partil R-squared values obtained across all models of the study (following s7).
- #Tested separately for 3T and 7T scanners' models
- library(nlme)
- library(emmeans)
- ####################################################################
- #######################dataset preparation##########################
- ####################################################################
- for (scan in c("3T", "7T"))
- {
- dataset_stat=readRDS('datasets_stat/stat_output_HCP_alltasks.rds')
- if(scan=="3T")
- {
- dataset_stat=dataset_stat[which(dataset_stat$taskFC != 'REST (7T)' & dataset_stat$taskFC != 'MOVIE'),]
- } else if (scan=="7T")
- {
- dataset_stat=dataset_stat[which(dataset_stat$taskFC == 'REST (7T)' | dataset_stat$taskFC == 'MOVIE'),]
- }
- #rename fMRI tasks for clarity for later plot
- levels(dataset_stat$taskFC)[levels(dataset_stat$taskFC) == "LANGUAGE"] <- "LG"
- levels(dataset_stat$taskFC)[levels(dataset_stat$taskFC) == "WORKING\nMEMORY"] <- "WM"
- levels(dataset_stat$taskFC)[levels(dataset_stat$taskFC) == "SOCIAL\n COGNITION"] <- "SOCIAL"
- levels(dataset_stat$taskFC)[levels(dataset_stat$taskFC) == "RELATIONAL\nPROCESSING"] <- "RELATIONAL"
- #factorise
- dataset_stat$cog_name=as.factor(dataset_stat$cog_name)
- dataset_stat$taskFC=as.factor(dataset_stat$taskFC)
- dataset_stat$taskFC <- droplevels(dataset_stat$taskFC) #drop as 3T/7T mismamtch
- dataset_stat$category=as.factor(dataset_stat$category_abbr)
- #assumption check function
- library(car)
- as_check=function(model){
- flags=c()
- #"type" argument added because of the interaction term
- #using adjusted gvif as more reliable when many dummy variables (categorical levels), and square root of the criterion
- #https://www.bookdown.org/rwnahhas/RMPH/mlr-collinearity.html
- if(!all(vif(model, type='predictor')[,3] <= sqrt(10))) {
- cat('Multicollinearity detected\n VIF - ')
- cat(vif(model)[,1])
- cat(';\n Tolerance - ')
- cat(1/vif(model)[,1])
- cat(';\n')
- flags=c(flags,'multicollinearity')
- }
- #check independence of errors (Durbin-Watson statistics between 1 and 3 is good according to Mayers, A. (2013))
- DWstat=durbinWatsonTest(as.numeric(residuals(model)))
- if (DWstat < 1 | DWstat > 3) {flags=c(flags,'autocorrelated residuals')}
- return(flags)
- }
- ###############################################################
- #####################OPTIONAL GROUPING#########################
- #needs underscore to help later name parsing
- dataset_stat$ntw_type <- gsub(" ", "_", dataset_stat$ntw_type)
- #Want to group topology measures?
- #wide, threshold, or none
- grouping=''
- if (grouping=='wide')
- {
- #wide clustering
- dataset_stat$category=as.factor(dataset_stat$ntw_type)
- levels(dataset_stat$category) <- levels(factor(dataset_stat$ntw_type))
- }
- if (grouping=='threshold')
- {
- #limited clustering
- levels(dataset_stat$category) <- c(levels(dataset_stat$category), "Global_efficiency","Clustering_coefficient")
- dataset_stat$category[grep('GLOB',dataset_stat$category)]="Global_efficiency"
- dataset_stat$category[grep('CLUST',dataset_stat$category)]="Clustering_coefficient"
- dataset_stat$category <- droplevels(dataset_stat$category) #drops now-empty lvl
- }
- ###############################################################
- #############################MODEL#############################
- #The baseline is defined as the grand mean as choosing a level as baseline is arbitrary for types of cognitive tests and of topology measures
- #This sets global defaults for how R encodes factor variables when fitting models. Specifically: contr.sum" applies sum (effect) coding to unordered factors
- contrasts(dataset_stat$cog_name) <- contr.sum
- contrasts(dataset_stat$category) <- contr.sum
- #for taskFC, REST is defined as the baseline for the fMRI taks category
- if (scan=="7T")
- {
- dataset_stat$taskFC <- relevel(factor(dataset_stat$taskFC), ref = "REST (7T)")
- contrasts(dataset_stat$taskFC) <- contr.treatment(levels(dataset_stat$taskFC),
- base = which(levels(dataset_stat$taskFC) == "REST (7T)"))
- } else
- {
- dataset_stat$taskFC <- relevel(factor(dataset_stat$taskFC), ref = "REST (3T)")
- contrasts(dataset_stat$taskFC) <- contr.treatment(levels(dataset_stat$taskFC),
- base = which(levels(dataset_stat$taskFC) == "REST (3T)"))
- }
- #log transformation fixes most heteroskedasticity
- leveneTest(log(rsq_vals) ~ category, data = dataset_stat)$`Pr(>F)`[1] < .05
- leveneTest(log(rsq_vals) ~ cog_name, data = dataset_stat)$`Pr(>F)`[1] < .05
- leveneTest(log(rsq_vals) ~ taskFC, data = dataset_stat)$`Pr(>F)`[1] < .05
- leveneTest(log(rsq_vals) ~ category * taskFC, data = dataset_stat)$`Pr(>F)`[1] < .05
- #Generalized Least Squares (GLS)
- #Because gls() refers to the source dataset_stat variable even if we assign() it to a new variable name, meta_model_3T since will refer to the replaced dataset_stat from the last loop instead of the initial object. To avoid this, we create explicitly a variable instead of assigning:
- if(scan=="3T")
- {
- dataset_stat_3T <- dataset_stat
- #weights controls for variance of taskFC (as it still creates heteroscedasticity after log transform)
- meta_model <- nlme::gls(
- log(rsq_vals) ~ cog_name + category * taskFC,
- data = dataset_stat_3T,
- weights = varIdent(form = ~1 | taskFC) # Allows different variance per group
- )
- as_check(meta_model)
- } else if (scan=="7T")
- {
- dataset_stat_7T <- dataset_stat
- meta_model <- nlme::gls(
- log(rsq_vals) ~ cog_name + category * taskFC,
- data = dataset_stat_7T,
- weights = varIdent(form = ~1 | taskFC) # Allows different variance per group
- )
- as_check(meta_model)
- }
- #get summary of model contrasts (estimates, p values)
- #DevContrStats script extracts the categorical levels omitted from the default summary and returns more readable results (the last last levels are hidden in R due to contr.sum and simply implied to build a contrast matrix summing to 0, see for more context:
- #https://stackoverflow.com/questions/72820236/comparing-all-factor-levels-to-the-grand-mean-can-i-tweak-contrasts-in-linear-m)
- source("#jobs/DevContrStats_gls.r")
- #cog task and network measure main effects
- coefficients=DevContrStats_gls(dataset_stat, meta_model, 'cog_name')
- coefficients=rbind(coefficients,
- DevContrStats_gls(dataset_stat, meta_model, 'category'))
- #script not needed for taskFC variable as there are only 2 levels (contr.treatment)
- #taskFC levels first
- summod=as.data.frame(summary(meta_model)$tTable)
- coefficients=rbind(coefficients,
- summod[grep('^taskFC',row.names(summod)),])
- #interactions terms
- coefficients=rbind(coefficients,
- DevContrStats_gls(dataset_stat, meta_model, 'category','taskFC'))
- #taskFC REST is dropped
- coefficients=coefficients[!grepl(':REST',row.names(coefficients)),]
- #record which scan each contrast is based on
- coefficients$scan=scan
- #save summaries separately per scanners
- assign(paste0('coefficients_',scan), coefficients)
- assign(paste0('meta_model_',scan), meta_model)
- }
- #merged again for the sake of FDR correction
- coefficients_all=rbind(coefficients_3T, coefficients_7T)
- #no need to correct across intercepts so ignore their coefficient
- coefficients_all=coefficients_all[-grep('Intercept',row.names(coefficients_all)),]
- #FDR correction
- coefficients_all$`p-value_fdr`=p.adjust(coefficients_all[,"p-value"], method='fdr')
- #filter out insignificant contrasts
- sig_coefficients=coefficients_all[which(coefficients_all$`p-value_fdr`<.05),]
- print(sig_coefficients)
- ###############################################################
- #####################posthoc contrast##########################
- ###############################################################
- for (scan in c("3T", "7T"))
- {
- if (scan=='3T'){dataset=dataset_stat_3T; model=meta_model_3T}
- if (scan=='7T'){dataset=dataset_stat_7T; model=meta_model_7T}
- #test pairwise contrasts with emmeans
- #warning about contrast levels dropped is normal, due to the contr.sum parameter
- dataset <- droplevels(dataset)
- #mode = df.error to keep same df throughout instead of computing a new one per contrast (leads to near 0 dfs which results in absurd SEs in this data), more stable for gls()
- EMM <- emmeans::emmeans(model, ~ category * taskFC, data = dataset,
- mode='df.error')
- pairwise_comp <- pairs(EMM, infer = TRUE, adjust = "none")
- #don't count pairwise comparisons within own topology measure category:
- library(stringr)
- contrasts=as.data.frame(pairwise_comp)
- duplicates=which(str_count(contrasts$contrast,
- 'Minimum|Leaf|Diameter|LEAF|DIAM')==2 |
- str_count(contrasts$contrast,
- 'Persistent|Backbone|Cycle|BS|BD|CS')==2 |
- str_count(contrasts$contrast,
- 'Clustering|Global|GLOB|CLUST')==2 |
- str_count(contrasts$contrast,
- 'RAW_FC')==2 |
- str_count(contrasts$contrast,
- 'REST')==0
- )
- if (length(duplicates)!=0){contrasts=contrasts[-duplicates,]}
- #specify scanner it came from
- contrasts$scan=scan
- assign(paste0('contrasts_',scan),contrasts)
- }
- #merge for FDR correction
- contrasts=rbind(contrasts_3T, contrasts_7T)
- #significant pre and post fdr correction:
- contrasts$p.value_fdr=p.adjust(contrasts$p.value, method='fdr')
- contrasts_uncor=contrasts
- #apply correction
- contrasts=contrasts[which(contrasts$p.value_fdr<.05),]
- #then assign fdr corrected p back to each respective set of contrasts
- contrasts_3T=contrasts[which(contrasts$scan=='3T'),]
- contrasts_7T=contrasts[which(contrasts$scan=='7T'),]
- ###############################################################
- ###############################################################
- #############################Plots#############################
- library(ggplot2)
- library(dplyr)
- library(forcats)
- library(stringr)
- for (scan in c("3T", "7T"))
- {
- if (scan=='7T' & NROW(contrasts_7T)==0){plot_7T=NULL; break}
- contrasts=get(paste0("contrasts_", scan))
- #identify first and second variable in each contrast
- df_contrasts <- as.data.frame(contrasts) %>%
- mutate(original_var1 = str_trim(str_extract(contrast, "^[^-]+")),
- original_var2 = str_trim(str_extract(contrast, "(?<= - ).*")) ) %>%
- #order in terms of increases
- mutate( flip = estimate < 0,
- contrast = if_else(flip, paste(original_var2, "-", original_var1), contrast),
- estimate = if_else(flip, -estimate, estimate),
- t.ratio = if_else(flip, -t.ratio, t.ratio) )
- #add asterisks for significance
- df_contrasts <- df_contrasts %>%
- mutate(sig = case_when(
- p.value_fdr < 0.001 ~ "***",
- p.value_fdr < 0.01 ~ "**",
- p.value_fdr < 0.05 ~ "*",
- TRUE ~ "" #catch-all if nothing above is TRUE
- ))
- #clarify direction of difference (- replaced with <>)
- df_contrasts <- df_contrasts %>%
- mutate(
- contrast_label = str_replace(contrast, "(.*) - (.*)", "\\1 <> \\2"),
- contrast_label = if_else(estimate > 0, str_replace(contrast_label, "<>", " > "), str_replace(contrast_label, "<>", " < "))) %>%
- mutate(contrast_label = fct_inorder(contrast_label))
- df_contrasts <- df_contrasts %>% mutate(label_leader = str_trim(str_extract(contrast_label, "^[^>]+")) # gets left-hand side of label
- )
- df_contrasts <- df_contrasts %>% arrange(label_leader)
- #Colour contrast depending on strongest measure in each comparison contrast
- #Accounts for different possible labels
- color_map <- c(
- "Graph_measures" = "#3468A4",
- "Clustering coefficient" = "#4180C9", "CLUST" = "#4180C9",
- "Clustering coefficient (t.10%)"="#4180C9","CLUSTERING0.1"="#4180C9",
- "Clustering coefficient (t.20%)"="#4180C9","CLUSTERING0.2"="#4180C9",
- "Clustering coefficient (t.30%)"="#4180C9","CLUSTERING0.3"="#4180C9",
- "Global efficiency" = "#3468A4","GLOB_EFF" = "#3468A4",
- "Global efficiency (t.10%)" = "#3468A4", "GLOB_EFF0.1" = "#3468A4",
- "Global efficiency (t.20%)" = "#3468A4", "GLOB_EFF0.2" = "#3468A4",
- "Global efficiency (t.30%)" = "#3468A4","GLOB_EFF0.3" = "#3468A4",
- "Persistent_Homology" = "#95435C",
- "Backbone Strength" = "#95435C", "PH_BS" = "#95435C",
- "Backbone Dispersion" = "#733447","PH_BD" = "#733447",
- "Cycle Strength" = "#522633","PH_CS" = "#522633",
- "Minimum_Spanning_Tree" = "#C0915C",
- "Diameter" = "#DCA769","MST_DIAM" = "#DCA769",
- "Leaf fraction" = "#C0915C","MST_LEAF" = "#C0915C",
- "Raw_functional_connectivity" = "#9933FF",
- "Mean connectivity" = "#9933FF","RAW_FC" = "#9933FF"
- )
- #adapt colours depending on number first label in the x label
- df_contrasts$prefix <- sapply(df_contrasts$contrast_label, function(label) {
- matched <- grep(paste0("^", names(color_map), collapse = "|"), label, value = TRUE)
- if (length(matched) == 0) return(NA)
- matched_prefix <- names(color_map)[sapply(names(color_map), function(p) grepl(paste0("^", p), label))]
- if (length(matched_prefix) > 0) matched_prefix[1] else NA
- })
- df_contrasts$color <- color_map[df_contrasts$prefix]
- #categorise contrasts broadly by fMRI task
- df_contrasts$taskFC_leader <- str_match(df_contrasts$contrast, "^[^ ]+ ([^ ]+(?: \\(\\dT\\))?)")[,2]
- df_contrasts <- df_contrasts %>%
- arrange(taskFC_leader, label_leader)
- df_contrasts$contrast_label <- factor(df_contrasts$contrast_label, levels = df_contrasts$contrast_label)
- #add dashed lines between fMRI tasks
- group_breaks <- df_contrasts %>%
- group_by(taskFC_leader) %>%
- summarise(last = last(contrast_label)) %>%
- mutate(y = match(last, df_contrasts$contrast_label) + 0.5) #offset to draw line after last contrast of that fMRI task
- #add the corresponding fMRI task label too
- taskFC_labels <- df_contrasts %>%
- mutate(row = row_number()) %>%
- group_by(taskFC_leader) %>%
- summarise(x_pos = mean(row))
- taskFC_labels$y_pos <- 0.8
- #rename fMRI task for clarity
- taskFC_truenames <- c( "WM" = "WORKING\nMEMORY", "LG" = "LANGUAGE", "SOCIAL" = "SOCIAL\nCOGNITION")
- taskFC_labels <- taskFC_labels %>%
- mutate(taskFC_leader = dplyr::recode(taskFC_leader, !!!taskFC_truenames))
- #rename legend for clarity
- category_names <- c( "GLOB_EFF" = "Global efficiency", "CLUST" = "Clustering coefficient", "PH_BS" = "Backbone Strength", "PH_CS" = "Cycle Strength", "PH_BD" = "Backbone Dispersion", "MST_LEAF" = "Leaf fraction", "MST_DIAM" = "Diameter", "RAW_FC" = "Mean connectivity")
- df_contrasts <- df_contrasts %>%
- mutate(prefix = dplyr::recode(prefix, !!!category_names))
- #only keep legend from 3T plot has it covers all metrics
- if (scan == "7T") {
- legend_theme <- theme(
- legend.position = "bottom",
- legend.justification = c(0, 0.5),
- legend.box = "horizontal"
- )
- legend_scale <- scale_color_manual(values = color_map)
- plot_title=NULL
- y_label="Estimate ± SE"
- } else {
- legend_theme <- theme(legend.position = "none")
- legend_scale <- scale_color_manual(values = color_map, name = "Stronger network measure:")
- #plot_title="Contrasts in estimated log(partial R-squared) between conditions"
- y_label=NULL
- }
- #plot
- meascontrast_plot=ggplot(df_contrasts, aes(x = fct_inorder(contrast_label), y = estimate)) +
- geom_point(aes(color = prefix), size = 3) +
- geom_errorbar(aes(ymin = estimate - SE, ymax = estimate + SE, color = prefix), width = 0.2, linewidth = 1.2) +
- geom_text(aes(label = sig, y = estimate + 1.1 * SE), #beyond SE bar
- vjust=0.8, hjust =0, size = 6, color = "black") +
- geom_hline(yintercept = 0, linetype = "dashed", color = "grey50", linewidth = 0.5) +
- coord_flip() +
- labs(y=y_label, x = "",
- #title=plot_title
- ) +
- theme_minimal() +
- #theme(plot.title.position = "plot",
- # plot.title = element_text(hjust = 0.5)) +
- legend_scale +
- legend_theme +
- geom_vline(data = group_breaks, aes(xintercept = y), linetype = "dashed", color = "grey70", linewidth = 0.6) +
- geom_text(data = taskFC_labels,
- aes(x = x_pos, y = y_pos, label = taskFC_leader),
- inherit.aes = FALSE,
- angle = 0,
- hjust = 0.5,
- color = "grey30", alpha = 0.15,
- size = 6,
- lineheight = 0.8,
- fontface = "bold",
- family = "Impact") +
- guides(color = guide_legend(nrow = 1))
- assign(x = paste0('plot_',scan), meascontrast_plot)
- if (scan=="7T") #remove legend from first plot
- { plot_7T <- plot_7T + guides(color = "none")}
- }
- library(patchwork)
- if (!is.null(plot_7T))
- {
- finalplot <- plot_3T / plot_7T +
- plot_layout(guides = "collect", heights = c(0.99, 0.01)) &
- theme( plot.margin = margin(0,0,5,0),
- legend.position = "bottom",
- legend.box = "horizontal",
- legend.box.just = "left",
- legend.key.height = unit(0.2, "cm"),
- legend.margin = margin(-10, 0, 0, -250),
- legend.text=element_text(size=11)
- )
- } else
- {
- finalplot <- plot_3T +
- plot_layout(guides = "collect") &
- theme( plot.margin = margin(0,0,5,0),
- legend.position = "bottom",
- legend.box = "horizontal",
- legend.box.just = "left",
- legend.key.height = unit(0.2, "cm"),
- legend.margin = margin(-10, 0, 0, -250),
- legend.text=element_text(size=11)
- )
- }
- plot(finalplot)
- ggsave(filename = 'figures/taskFC/pairwise_comparisons_restvstask.png', plot = finalplot, units = 'px', width = 3000, height = 1500, dpi = 300)
- #For all contrasts between tasks, not only task vs rest
- #ggsave(filename = 'figures/taskFC/pairwise_comparisons.png', plot = finalplot, units = 'px', width = 4200, height = 8000, dpi = 300)
s9.overall_gls_model.r at commit e11eef2, no license · at the source
Overview
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 13 matches between paragraphs and lines of code.
chabld/Topology_study_2025
e11eef2cc71b405b90f74be6332a522287336d61, 6 February 2026Availability: 2 checks, the latest on 11 November 2026: the link answers
- 11 November 2026: the link answers
- 28 September 2026: the link answers
12 files
- jobs/
DevContrStats_gls.r , R, 179 lines, 1 match - jobs/
demographics.r , R, 82 lines - jobs/
s4_network_measures.r , R, 108 lines, 2 matches - jobs/
s5.model_data_prep.r , R, 43 lines, 2 matches - jobs/
s6_all_cog_analysis.r , R, 450 lines, 2 matches - jobs/
s7_cog_specific_analysis , R, 434 lines.r - jobs/
s7a_FDRplot.r , R, 211 lines, 2 matches - jobs/
s7b_splitter.R , R, 106 lines - jobs/
s8.overall_chisq.r , R, 110 lines, 1 match - jobs/
s9.overall_gls_model.r , R, 406 lines, 3 matches - jobs/
s9a.average_rsq_plot_ord , R, 134 linesered.R - README.md, Text, 1 line
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;
- 11 scripts, each with its path and the digest of its content;
- 13 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
Datasets cited
- db.humanconnectome.org/
data/ , at Human Connectome Project; found in the text, “fMRI Resting‐State and Task Conditions”projects
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: chabld/
Topology_study_2025
Read it in the paper: doi.org/10.1002/hbm.70526.
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, issue, pages, dates, 2 authors, 7 keywords, 12 MeSH terms, 1 funder, 41 references.
Cite
This paper
Billaud, C. H. A., & Yu, J. (2026). Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition. Human brain mapping, 47(5), e70526. https://
BibTeX
@article{billaud2026rest
author = {Billaud, Charly Hugo Alexandre and Yu, Junhong},
title = {{Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition}},
journal = {Human brain mapping},
year = {2026},
month = apr,
volume = {47},
number = {5},
pages = {e70526},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/
url = {https://
pmid = {41947425},
pmcid = {PMC13057421}
}
RIS
TY - JOUR
AU - Billaud, Charly Hugo Alexandre
AU - Yu, Junhong
TI - Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/
VL - 47
IS - 5
SP - e70526
SN - 1065-9471
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition",
"container-title": "Human brain mapping",
"author": [
{
"family": "Billaud",
"given": "Charly Hugo Alexandre"
},
{
"family": "Yu",
"given": "Junhong"
}
],
"container-title-short":
"volume": "47",
"issue": "5",
"page": "e70526",
"DOI": "10.1002/
"PMID": "41947425",
"PMCID": "PMC13057421",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}
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.1162/netn_a_00461 [code]
- Structure-function coupling using fixel-based analysis and functional magnetic resonance imaging in Alzheimer's disease and mild cognitive impairment.Journal: Network neuroscience (Cambridge, Mass.)In common: emmeans, car, igraph, 2 other tools, fMRI, 4 references, 2 authors
- [2] doi:10.1162/imag.a.55 [code]
- Thought contents during rest account for functional connectivity-behavior associations.Journal: Imaging neuroscience (Cambridge, Mass.)In common: easystats, igraph, ggplot2, 1 other tool, fMRI, 3 references, 2 authors
- [3] doi:10.1016/j.dcn.2024.101492 [code]
- Sports participation &
amp; childhood neurocognitive development. Journal: Developmental cognitive neuroscienceIn common: nlme, easystats, car, 3 other tools, 2 references, author Junhong Yu - [4] doi:10.1162/imag_a_00372 [code]
- VertexWiseR: A package for simplified vertex-wise analyses of whole-brain and hippocampal surfaces in R.Journal: Imaging neuroscience (Cambridge, Mass.)In common: igraph, ggplot2, tidyverse, 2 references, 2 authors
- [5] doi:10.1002/hbm.26304 [code]
- Persistent homology-based functional connectivity and its association with cognitive ability: Life-span study.Journal: Human brain mappingIn common: igraph, fMRI, cognitive, 6 references
- [6] doi:10.1038/s41467-026-73262-2 [code]
- Robust but independent sex differences in human brain function, structure, and behavior.Journal: Nature communicationsIn common: easystats, car, patchwork, 2 other tools, 4 references
- [7] doi:10.1162/netn_a_00284 [code]
- Multimodal multilayer network centrality relates to executive functioning.Journal: Network neuroscience (Cambridge, Mass.)In common: nlme, car, ggplot2, 1 other tool, fMRI, cognitive, 4 references
- [8] doi:10.1162/imag_a_00169 [code]
- Intrinsic functional connectivity among memory networks does not predict individual differences in narrative recall.Journal: Imaging neuroscience (Cambridge, Mass.)In common: easystats, patchwork, ggplot2, 1 other tool, fMRI, cognitive, 4 references
- [9] doi:10.1038/s41467-025-63204-9 [code]
- Connectome-constrained ligand-receptor interaction analysis for understanding brain network communication.Journal: Nature communicationsIn common: igraph, patchwork, ggplot2, 1 other tool, db.humanconnectome.org/data/projects, 1 reference
- [10] doi:10.1016/j.cortex.2022.12.016 [code]
- A network-level test of the role of the co-activated default mode network in episodic recall and social cognition.Journal: Cortex; a journal devoted to the study of the nervous system and behaviorIn common: db.humanconnectome.org/data/projects, fMRI, cognitive, 4 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, 11 scripts, and 13 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:6e9f06605c185ab0…
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.1002/hbm.70526)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1002/hbm.70526.svg
:target: https://openscicode.org/badge/doi/10.1002/hbm.70526
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/hbm.70526"><img src="https://openscicode.org/badge/doi/10.1002/hbm.70526.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.
