Development of functional topography of the default mode subnetworks revealed by precision mapping.
2 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 4 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Materials and methods › Sharpness of the boundary between DMN subnetworks ↔ analysis/calculate_sharpness.py, the whole file · a weak match · score 0.92 · spatially contiguous clusters, nearby vertices, boundary sharpness, clusters belonging, border vertex, fewer · block
oscr:b:HB9YA2176CBB6-S· Report a mismatch - [2] § Materials and methods › Precision mapping ↔ cortex_mapping/mapping.py, lines 80 to 173 · score 0.75 · clusters smaller, small clusters, spatial contiguity, nearest, command, Precision · block
oscr:b:PMYWM85JCV2X3-O· Report a mismatch - [3] § Materials and methods › Precision mapping ↔ cortex_mapping/mapping.py, lines 80 to 173 · score 0.70 · template matching, precision mapping, functional connectivity, Dice, profile, matrix · block
oscr:b:PMYWM85JCV2X3-O· Report a mismatch - [4] § Materials and methods › Precision mapping ↔ analysis/calculate_sharpness.py, the whole file · a weak match · score 0.54 · neighboring network, spatial contiguity, clusters · block
oscr:b:HB9YA2176CBB6-S· 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 · 128 lines · 5.6 KB · no license · 2 matches
- import warnings
- import numpy as np
- import pandas as pd
- import nibabel as nib
- from feature_extraction import utils
- from cortex_mapping.mapping import get_template_info
- from scipy.stats import mode
- warnings.filterwarnings('ignore')
- def get_boundary_sharpness(args):
- '''Calculates the boundary-sharnpess of each network.
- 1. Identify the spatially contiguous clusters that make up the 'networks' label file.
- 2. Take the mean BOLD time-series across vertices within the cluster.
- 3. At each vertex on the border of the spatial cluster:
- a. Find all the vertices within 'distance' (default=5mm) of this border-vertex.
- b. Calculate the correlation between each of these neighbouring vertex and the cluster time-series.
- c. For each neighbouring network seprately, compare how correlated the correlations within the
- cluster are to the correlations outside the cluster (cohen's d).
- d. Define this as the network-specific boundary sharpness for the current spatial cluster.
- 4. Take the average boundary sharpness across border vertices, write to .csv
- '''
- # Set-up.
- func = args.func
- surf = args.surf
- hemi = args.hemi
- networks = args.networks
- output = args.output
- tmp = f'{args.output}/tmp'
- network_indices, network_labels, _ = get_template_info()
- time_series = utils.get_time_series(func)
- coords = utils.get_surf_coords(surf)
- tree = utils.get_kdtree(surf)
- network_data = nib.load(networks).darrays[0].data
- # Get spatial clusters.
- clusters_gii = nib.load(f'{tmp}/clusters.{hemi}.func.gii')
- borders_gii = nib.load(f'{tmp}/borders.{hemi}.func.gii')
- # --- Define function for calculating sharpness of single cluster ---
- def get_cluster_sharpness(cluster_data, border_data, distance=5):
- '''
- Input:
- cluster_data: boolean array (shape:[n_vertices]) of spatial cluster.
- border_data: boolean array (shape:[n_vertices]) of border vertices.
- distance: Maximum distance for vertices to be considered in sharnpoess calculation (mm).
- Output:
- cluster_sharpness: dictionary with the mean boundary sharpness across vertices for each network
- cluster_network: the network label with which the current cluster belongs.
- '''
- cluster_data_bool = np.array([bool(x) for x in cluster_data])
- border_vertices = np.argwhere(border_data).flatten()
- cluster_network, _ = mode(network_data[cluster_data_bool])
- # Get cluster time-series (mean BOLD signal across vertices within the cluster).
- cluster_xs = time_series[:,cluster_data_bool].mean(axis=1)
- # Get list of nearby vertices (i.e., those +/- the specified distance) for each border vertex.
- all_nearby_vertices = [np.array(tree.query_ball_point(coords[border_vertex], r=distance)) for border_vertex in border_vertices]
- relevant_vertices = np.unique(np.hstack(all_nearby_vertices))
- # Correlate the time-series of each vertex on the surface with the cluster time-series.
- r_vals = np.zeros(network_data.shape[0])
- r_vals[relevant_vertices] = np.array([np.corrcoef(cluster_xs, vertex_xs)[0,1] for vertex_xs in time_series.T[relevant_vertices]])
- # Get network-wise border-sharpness.
- cluster_sharpness_vertex = {label:[] for label in network_labels}
- for vertex_idx, _ in enumerate(border_vertices):
- nearby_vertices = all_nearby_vertices[vertex_idx]
- vertex_networks = network_data[nearby_vertices]
- inside_corrs = r_vals[nearby_vertices][vertex_networks == cluster_network]
- # Get efect-size difference between r_vals in current network and r_vals in other networks.
- for net_idx, net_label in zip(network_indices, network_labels):
- outside_corrs = r_vals[nearby_vertices][vertex_networks == net_idx]
- # Excude network-network borders with fewer than 5 vertices.
- if len(outside_corrs) < 5:
- continue
- seg = utils.get_cohens_d(inside_corrs, outside_corrs)
- cluster_sharpness_vertex[net_label].append(seg)
- cluster_sharpness = {label: np.nanmean(cluster_sharpness_vertex[label]) for label in network_labels}
- return cluster_sharpness, cluster_network
- # Get boundary sharpness of each cluster.
- cluster_sharpness = {idx:[] for idx in network_indices}
- for cluster_darray, border_darray in zip(clusters_gii.darrays, borders_gii.darrays):
- cluster_data = cluster_darray.data
- border_data = border_darray.data
- sharpness, net_idx = get_cluster_sharpness(cluster_data, border_data)
- cluster_sharpness[net_idx].append(sharpness)
- # Combine into single dataframe and save to output.
- all_df = [pd.DataFrame(cluster_sharpness[idx]).assign(network_idx=idx) for idx in network_indices]
- sharpness_df = pd.concat(all_df, ignore_index=True)
- idx_to_label = dict(zip(network_indices, network_labels))
- sharpness_df['network_label'] = sharpness_df['network_idx'].map(idx_to_label)
- feature_df = pd.read_csv(f'{output}/features_{hemi}.csv')
- df = pd.concat([feature_df, sharpness_df], axis=1)
- # Reorder columns.
- front_cols = ['cluster_idx', 'network_idx', 'network_label']
- existing_front_cols = [col for col in front_cols if col in df.columns]
- other_cols = [col for col in df.columns if col not in existing_front_cols]
- df = df[existing_front_cols + other_cols]
- # Rename columns.
- df = df.rename(columns={col: f'{col}__sharpness' for col in network_labels})
- df.to_csv(f'{output}/features_{hemi}.csv', index=False)
calculate_sharpness.py at commit 8548e2d, no license · at the source
Overview
- State Key Laboratory of Cognitive Science and Mental Health, Institute of Psychology, Chinese Academy of Sciences, Beijing, 100101, China
- Department of Psychology, University of Chinese Academy of Sciences, Beijing, 100049, China
- Department of Neurology and Neurosurgery, McGill University, Montréal, QC, H3A 2B4, Canada
Abstract
The default mode network (DMN) is a functionally and anatomically heterogeneous network comprising distinct subsystems that support internally directed processes such as memory and self-related thought. The development of functional brain networks is critical for cognitive maturation, yet how DMN subnetworks develop remains unclear. Group-average approaches obscure individual variability and blur spatial details, limiting precise characterization of network topography. Using precision mapping in 547 participants aged 5–21 years, we delineated individualized DMN subnetworks and examined their development across multiple aspects, including functional segregation and spatial topography. We found that DMN subnetworks become increasingly functionally segregated from each other and from non-DMN networks with age, and exhibit greater topographic distinctiveness through boundary sharpening and reduced spatial overlap. Furthermore, the memory-related subnetwork showed a negative association between age and spatial extent, with a smaller surface area associated with better episodic memory performance. Our findings underscore the importance of characterizing multidimensional functional and topographical features at the individual level to better understand typical neurodevelopment and neurodevelopmental and psychiatric conditions.
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 4 matches between paragraphs and lines of code.
Chai-Neuro-Lab/Segregation-of-DMN-subnetworks
8548e2d8646a6d8c7e95f36b182d69a892d247f8, 29 October 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
10 files
- analysis/
calculate_ARI.py , Python, 88 lines - analysis/
calculate_FC.py , Python, 68 lines - analysis/
calculate_density map.py , Python, 129 lines - analysis/
calculate_overlap of surface area .py , Python, 140 lines - analysis/
calculate_sharpness.py , Python, 128 lines, 2 matches - analysis/
calculate_surface area .py , Python, 115 lines - cortex_mapping/
main.py , Python, 32 lines - cortex_mapping/
mapping.py , Python, 173 lines, 2 matches - feature_extraction/
clusters.py , Python, 80 lines - feature_extraction/
utils.py , Python, 61 lines
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;
- 10 scripts, each with its path and the digest of its content;
- 4 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 and materials availability
Raw data are freely available through the Human Connectome Project, upon completion of a data-usage agreement: [https://
All the analysis and visualization code are available on GitHub: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Data availability
Raw data are freely available through the Human Connectome Project. All the analysis and visualization code are available on GitHub: 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, pages, dates, 4 authors, 4 keywords, 6 funders, 51 references.
Cite
This paper
He, Y., Kember, J., Jiang, H., & Chai, X. J. (2026). Development of functional topography of the default mode subnetworks revealed by precision mapping. Developmental cognitive neuroscience, 81, 101808. https://
BibTeX
@article{he2026developme
author = {He, Ying and Kember, Jonah and Jiang, Hongxiu and Chai, Xiaoqian J},
title = {{Development of functional topography of the default mode subnetworks revealed by precision mapping}},
journal = {Developmental cognitive neuroscience},
year = {2026},
month = aug,
volume = {81},
pages = {101808},
publisher = {Elsevier},
issn = {1878-9293},
doi = {10.1016/
url = {https://
pmid = {42697126},
pmcid = {PMC13572014}
}
RIS
TY - JOUR
AU - He, Ying
AU - Kember, Jonah
AU - Jiang, Hongxiu
AU - Chai, Xiaoqian J
TI - Development of functional topography of the default mode subnetworks revealed by precision mapping
T2 - Developmental cognitive neuroscience
J2 - Dev Cogn Neurosci
PY - 2026
DA - 2026/
VL - 81
SP - 101808
SN - 1878-9293
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Development of functional topography of the default mode subnetworks revealed by precision mapping",
"container-title": "Developmental cognitive neuroscience",
"author": [
{
"family": "He",
"given": "Ying"
},
{
"family": "Kember",
"given": "Jonah"
},
{
"family": "Jiang",
"given": "Hongxiu"
},
{
"family": "Chai",
"given": "Xiaoqian J"
}
],
"container-title-short":
"volume": "81",
"page": "101808",
"DOI": "10.1016/
"PMID": "42697126",
"PMCID": "PMC13572014",
"ISSN": "1878-9293",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
29
]
]
}
}
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/s42003-025-08509-7 [code]
- Development of areal-level individualized homologous functional parcellations in youth.Journal: Communications biologyIn common: Connectome Workbench, NiBabel, scikit-learn, 4 other tools, 12 references
- [2] doi:10.1038/s41467-022-30244-4 [code]
- Dissociable multi-scale patterns of development in personalized brain networks.Journal: Nature communicationsIn common: Connectome Workbench, NiBabel, scikit-learn, 4 other tools, 11 references
- [3] doi:10.1152/jn.00308.2023 [code]
- Organization of the human cerebral cortex estimated within individuals: networks, global topography, and function.Journal: Journal of neurophysiologyIn common: Connectome Workbench, NiBabel, scikit-learn, 3 other tools, 12 references
- [4] doi:10.1038/s41467-024-47748-w [code]
- Functional connectivity development along the sensorimotor-association
axis enhances the cortical hierarchy. Journal: Nature communicationsIn common: pandas, 14 references - [5] doi:10.1093/psyrad/kkag013 [code]
- Convergent and divergent spatial topographies of individualized brain functional networks and their developmental origins.Journal: PsychoradiologyIn common: Connectome Workbench, scikit-learn, SciPy, 1 other tool, 11 references
- [6] doi:10.1016/j.neuroimage.2021.118843 [code]
- Functional brain network community structure in childhood: Unfinished territories and fuzzy boundaries.Journal: NeuroImageIn common: Connectome Workbench, NiBabel, scikit-learn, 4 other tools, 8 references
- [7] doi:10.1162/netn_a_00323 [code]
- Controversies and progress on standardization of large-scale brain network nomenclature.Journal: Network neuroscience (Cambridge, Mass.)In common: 14 references
- [8] doi:10.1038/s42003-024-06630-7 [code]
- Macroscale brain states support the control of semantic cognition.Journal: Communications biologyIn common: Connectome Workbench, NiBabel, pandas, 3 other tools, 9 references
- [9] doi:10.1073/pnas.2502021122 [code]
- Action-mode subnetworks for decision-making, action control, and feedback.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Connectome Workbench, NiBabel, scikit-learn, 4 other tools, 8 references
- [10] doi:10.1038/s41467-026-74572-1 [code]
- The hippocampus becomes topographically and functionally specialized along the longitudinal axis with development.Journal: Nature communicationsIn common: Connectome Workbench, NiBabel, scikit-learn, 4 other tools, 7 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, 10 scripts, and 4 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:16e3c22da7b04ea8…
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.101808)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101808.svg
:target: https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101808
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101808"><img src="https://openscicode.org/badge/doi/10.1016/j.dcn.2026.101808.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.
