A dual space MRI radiomic network signature for risk stratification and subtyping of mild cognitive impairment.
The 1 match
- [1] § STAR★Methods › Method details › Radiomic feature extraction ↔ Radiomics_R2SN.py, lines 8–25 · score 0.58 · Radiomic features, GLCM, GLDM, GLRLM, GLSZM, NGTDM
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
Python · 160 lines · 4.9 KB · no license · 1 match
- import argparse
- import numpy as np
- import pandas as pd
- import SimpleITK as sitk
- from radiomics import featureextractor
- def make_extractor(bin_width=25.0, normalize=False, include_shape=True):
- settings = {"binWidth": bin_width}
- if normalize:
- settings["normalize"] = True
- ext = featureextractor.RadiomicsFeatureExtractor(**settings)
- ext.disableAllImageTypes()
- ext.enableImageTypeByName("Original")
- ext.disableAllFeatures()
- classes = ["firstorder", "glcm", "glrlm", "glszm", "gldm", "ngtdm"]
- if include_shape:
- classes.append("shape")
- for c in classes:
- ext.enableFeatureClassByName(c)
- return ext
- def clean_features(feats):
- out = {}
- for k, v in feats.items():
- if k.startswith("diagnostics_"):
- continue
- try:
- out[k] = float(v)
- except Exception:
- pass
- return out
- def same_space(a, b, tol=1e-6):
- return (
- a.GetSize() == b.GetSize()
- and np.allclose(a.GetSpacing(), b.GetSpacing(), atol=tol)
- and np.allclose(a.GetOrigin(), b.GetOrigin(), atol=tol)
- and np.allclose(a.GetDirection(), b.GetDirection(), atol=tol)
- )
- def get_binary_mask_from_label(label_img, label):
- mask = sitk.Equal(label_img, int(label))
- return sitk.Cast(mask, sitk.sitkUInt8)
- def extract_global_radiomics(image, global_mask, out_csv, bin_width=25.0, normalize=False):
- ext = make_extractor(bin_width=bin_width, normalize=normalize, include_shape=True)
- feats = clean_features(ext.execute(image, global_mask))
- df = pd.DataFrame([feats])
- df.to_csv(out_csv, index=False)
- return df
- def extract_regional_features(image, region_mask, bin_width=25.0, normalize=False, include_shape=False):
- ext = make_extractor(bin_width=bin_width, normalize=normalize, include_shape=include_shape)
- labels = np.unique(sitk.GetArrayViewFromImage(region_mask))
- labels = [int(x) for x in labels if x > 0]
- rows = []
- for label in labels:
- roi = get_binary_mask_from_label(region_mask, label)
- try:
- feats = clean_features(ext.execute(image, roi))
- feats["region_id"] = label
- rows.append(feats)
- except Exception:
- continue
- if not rows:
- raise RuntimeError("No valid regional features were extracted.")
- df = pd.DataFrame(rows).set_index("region_id").sort_index()
- df = df.apply(pd.to_numeric, errors="coerce")
- df = df.dropna(axis=1, how="all")
- df = df.fillna(df.median(numeric_only=True))
- return df
- def build_rrsn(regional_df, out_csv):
- x = regional_df.copy()
- # Z-score by feature
- x = (x - x.mean(axis=0)) / (x.std(axis=0, ddof=0) + 1e-12)
- x = x.fillna(0.0)
- if len(x) == 1:
- net = np.array([[1.0]])
- else:
- net = np.corrcoef(x.to_numpy(), rowvar=True)
- net = np.nan_to_num(net, nan=0.0)
- np.fill_diagonal(net, 1.0)
- net_df = pd.DataFrame(net, index=x.index, columns=x.index)
- net_df.index.name = "region_id"
- net_df.to_csv(out_csv)
- return net_df
- def main():
- parser = argparse.ArgumentParser()
- parser.add_argument("--image", required=True, help="Input image path")
- parser.add_argument("--region_mask", required=True, help="Region label mask path")
- parser.add_argument("--global_mask", default=None, help="Global ROI mask path")
- parser.add_argument("--out_radiomics", default="radiomics.csv", help="Output radiomics CSV")
- parser.add_argument("--out_rrsn", default="rrsn.csv", help="Output RRSN CSV")
- parser.add_argument("--bin_width", type=float, default=25.0, help="PyRadiomics binWidth")
- parser.add_argument("--normalize", action="store_true", help="Enable intensity normalization")
- parser.add_argument(
- "--include_shape_in_network",
- action="store_true",
- help="Include shape features in regional network",
- )
- args = parser.parse_args()
- image = sitk.ReadImage(args.image)
- region_mask = sitk.ReadImage(args.region_mask)
- if args.global_mask is None:
- global_mask = sitk.Cast(region_mask > 0, sitk.sitkUInt8)
- else:
- global_mask = sitk.ReadImage(args.global_mask)
- if not same_space(image, region_mask):
- raise ValueError("image and region_mask are not in the same space")
- if not same_space(image, global_mask):
- raise ValueError("image and global_mask are not in the same space")
- extract_global_radiomics(
- image=image,
- global_mask=global_mask,
- out_csv=args.out_radiomics,
- bin_width=args.bin_width,
- normalize=args.normalize,
- )
- regional_df = extract_regional_features(
- image=image,
- region_mask=region_mask,
- bin_width=args.bin_width,
- normalize=args.normalize,
- include_shape=args.include_shape_in_network,
- )
- build_rrsn(regional_df, args.out_rrsn)
- print(f"Saved: {args.out_radiomics}")
- print(f"Saved: {args.out_rrsn}")
- if __name__ == "__main__":
- main()
Radiomics_R2SN.py at commit be306cf, no license · at the source
Overview
Abstract
Mild cognitive impairment (MCI) is a clinically heterogeneous prodromal stage of Alzheimer’s disease (AD) in which accurate risk stratification could support earlier intervention and more efficient trial design. Using baseline T1-weighted MRI from the Alzheimer’s Disease Neuroimaging Initiative and the National Alzheimer’s Coordinating Center cohorts, we developed a dual-space anatomical radiomic-network signature that integrates regional radiomic features and radiomics similarity network metrics extracted in standard and native spaces. The signature improved prediction of MCI-to-AD conversion relative to regional volumetric and clinical models, achieved consistent external validation performance, and separated participants into high- and low-risk groups. The same feature set identified five imaging-defined MCI subtypes with distinct anatomical patterns, conversion risks, and clinical, APOE ε4, and cerebrospinal fluid biomarker profiles; fronto-parietal and parahippocampal-temporal
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 1 match between paragraphs and lines of code.
bearsyep/iscience_R2SN_radiomics
be306cf3c3599795f0a9a34a28e695184b86f4a0, 27 March 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
1 file
- Radiomics_R2SN.py, Python, 160 lines, 1 match
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;
- 1 script, each with its path and the digest of its content;
- 1 match 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 code availability
This paper analyzes baseline T1-weighted structural MRI, demographic, clinical, genetic, cognitive, and biomarker data obtained from the Alzheimer’s Disease Neuroimaging Initiative (ADNI) and the National Alzheimer’s Coordinating Center (NACC). ADNI and NACC data are available to qualified researchers upon application to the respective data repositories and are subject to their data-use agreements and governance requirements. The analysis code used in this study is publicly 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, 5 authors, 11 keywords, 1 funder, 37 references.
Cite
This paper
Xiong, D., Liu, M., Xie, J., Liu, Z., & Wang, J. (2026). A dual space MRI radiomic network signature for risk stratification and subtyping of mild cognitive impairment. iScience, 29(7), 116394. https://
BibTeX
@article{xiong2026dual,
author = {Xiong, Diaohan and Liu, Mengjiao and Xie, Jiamei and Liu, Zefeng and Wang, Junping},
title = {{A dual space MRI radiomic network signature for risk stratification and subtyping of mild cognitive impairment}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {7},
pages = {116394},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42325556},
pmcid = {PMC13276304}
}
RIS
TY - JOUR
AU - Xiong, Diaohan
AU - Liu, Mengjiao
AU - Xie, Jiamei
AU - Liu, Zefeng
AU - Wang, Junping
TI - A dual space MRI radiomic network signature for risk stratification and subtyping of mild cognitive impairment
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 7
SP - 116394
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "A dual space MRI radiomic network signature for risk stratification and subtyping of mild cognitive impairment",
"container-title": "iScience",
"author": [
{
"family": "Xiong",
"given": "Diaohan"
},
{
"family": "Liu",
"given": "Mengjiao"
},
{
"family": "Xie",
"given": "Jiamei"
},
{
"family": "Liu",
"given": "Zefeng"
},
{
"family": "Wang",
"given": "Junping"
}
],
"container-title-short":
"volume": "29",
"issue": "7",
"page": "116394",
"DOI": "10.1016/
"PMID": "42325556",
"PMCID": "PMC13276304",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
12
]
]
}
}
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.3389/fonc.2026.1886395 [code]
- Resources are associated with functional outcome and brain morphometry in childhood cancer survivors.Journal: Frontiers in oncologyIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [2] doi:10.1371/journal.pcbi.1014555 [code]
- Body surface potential driven personalisation of electrophysiological digital twins in hypertrophic cardiomyopathy.Journal: PLoS computational biologyIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [3] doi:10.1038/s41598-026-56778-x [code]
- Chiari malformation type 1 is associated with a smaller fourth ventricle volume - a multi-cohort replication study.Journal: Scientific reportsIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [4] doi:10.1038/s41598-026-55397-w [code]
- Fast surface reconstruction of human brain MRI: benchmarking deep-learning based morphometry tools.Journal: Scientific reportsIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [5] doi:10.3390/cancers18162636 [code]
- Exploring the Impact of T2-Weighted MRI Fat Saturation on Radiomics Stability for Brain Radionecrosis Prediction After Skull-Base Proton Therapy: A Pilot Study.Journal: CancersIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [6] doi:10.3389/fonc.2026.1816015 [code]
- Modality-level attribution and redundancy-aware radiomics for MRI-based differentiation of melanoma and NSCLC brain metastases.Journal: Frontiers in oncologyIn common: PyRadiomics, SimpleITK, pandas, 1 other tool, structural MRI / diffusion
- [7] doi:10.1371/journal.pone.0337726 [code]
- Classification of chronic pain and spinal cord stimulation response using machine learning in magnetoencephalography dataJournal: n/aIn common: PyRadiomics, SimpleITK, pandas, 1 other tool
- [8] doi:10.1002/hbm.70548 [code]
- Improved Multiscale Structural Mapping with Supervertex Vision Transformer for the Detection of Alzheimer's Disease Neurodegeneration.Journal: Human brain mappingIn common: pandas, NumPy, Alzheimer's / dementia, structural MRI / diffusion, 2 references
- [9] doi:10.1038/s42003-026-10388-5 [code]
- Hierarchical organization of tau topography across the Alzheimer's disease continuum integrates amyloid, connectome, and intrinsic molecular vulnerability.Journal: Communications biologyIn common: Alzheimer's / dementia, 3 references
- [10] doi:10.1038/s43587-026-01121-2 [code]
- Predicting categorical and continuous Alzheimer's disease outcomes from a single MRI scan.Journal: Nature agingIn common: NumPy, Alzheimer's / dementia, structural MRI / diffusion, 2 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, 1 script, and 1 match 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:770baff7ac4b40f1…
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
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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.
