Gray matter volume alterations in adolescents with ADHD are associated with cell type-specific transcriptional signatures.
One block of code here has 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 1 match
- [1] § Methods › Gene expression data preprocessing ↔ alleninf/scripts.py, lines 33 to 107 · score 0.74 · MNI coordinates, Allen Human Brain, available gene expression, radius, probes, discarding · block
oscr:b:PJ5HFG3T5PTJS-L· 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 · 111 lines · 5.5 KB · BSD-3-Clause · 1 match
- #!/usr/bin/env python
- import argparse
- import os
- import numpy as np
- import pandas as pd
- import nibabel as nb
- from alleninf.api import get_probes_from_genes,\
- get_expression_values_from_probe_ids, get_mni_coordinates_from_wells
- from alleninf.data import get_values_at_locations, combine_expression_values
- from alleninf.analysis import fixed_effects, approximate_random_effects,\
- bayesian_random_effects
- def nifti_file(string):
- if not os.path.exists(string):
- msg = "%r does not exist" % string
- raise argparse.ArgumentTypeError(msg)
- try:
- nii = nb.load(string)
- except IOError as e:
- raise argparse.ArgumentTypeError(str(e))
- except:
- msg = "%r is not a nifti file" % string
- raise argparse.ArgumentTypeError(msg)
- else:
- if len(nii.shape) == 4 and nii.shape[3] > 1:
- msg = "%r is four dimensional" % string
- raise argparse.ArgumentTypeError(msg)
- return string
- def main():
- parser = argparse.ArgumentParser(
- description="Compare a statistical map with gene expression patterns from Allen Human Brain Atlas.")
- parser.add_argument(
- "stat_map", help="Unthresholded statistical map in the form of a 3D NIFTI file (.nii or .nii.gz) in MNI space.", type=nifti_file)
- parser.add_argument("gene_name", help="Name of the gene you want to compare your map with. For list of all available genes see: "
- "http://help.brain-map.org/download/attachments/2818165/HBA_ISH_GeneList.pdf?version=1&modificationDate=1348783035873.",
- type=str)
- parser.add_argument("--inference_method", help="Which model to use: fixed - fixed effects, approximate_random - approximate random effects (default), "
- "bayesian_random - Bayesian hierarchical model (requires PyMC3).",
- default="approximate_random")
- parser.add_argument("--n_samples", help="(Bayesian hierarchical model) Number of samples for MCMC model estimation (default 2000).",
- default=2000, type=int)
- parser.add_argument("--n_burnin", help="(Bayesian hierarchical model) How many of the first samples to discard (default 500).",
- default=500, type=float)
- parser.add_argument("--probes_reduction_method", help="How to combine multiple probes: average (default) or pca - use first principal component (requires scikit-learn).",
- default="average")
- parser.add_argument("--mask", help="Explicit mask for the analysis in the form of a 3D NIFTI file (.nii or .nii.gz) in the same space and "
- "dimensionality as the stat_map. If not specified an implicit mask (non zero and non NaN voxels) will be used.",
- type=nifti_file)
- parser.add_argument("--radius", help="Radius in mm of of the sphere used to average statistical values at the location of each probe (default: 4mm).",
- default=4, type=float)
- parser.add_argument("--probe_exclusion_keyword", help="If the probe name includes this string the probe will not be used.",
- type=str)
- args = parser.parse_args()
- print "Fetching probe ids for gene %s" % args.gene_name
- probes_dict = get_probes_from_genes(args.gene_name)
- print "Found %s probes: %s" % (len(probes_dict), ", ".join(probes_dict.values()))
- if args.probe_exclusion_keyword:
- probes_dict = {probe_id: probe_name for (probe_id, probe_name) in probes_dict.iteritems() if not args.probe_exclusion_keyword in probe_name}
- print "Probes after applying exclusion cryterion: %s" % (", ".join(probes_dict.values()))
- print "Fetching expression values for probes %s" % (", ".join(probes_dict.values()))
- expression_values, well_ids, donor_names = get_expression_values_from_probe_ids(
- probes_dict.keys())
- print "Found data from %s wells sampled across %s donors" % (len(well_ids), len(set(donor_names)))
- print "Combining information from selected probes"
- combined_expression_values = combine_expression_values(
- expression_values, method=args.probes_reduction_method)
- print "Translating locations of the wells to MNI space"
- mni_coordinates = get_mni_coordinates_from_wells(well_ids)
- print "Checking values of the provided NIFTI file at well locations"
- nifti_values = get_values_at_locations(
- args.stat_map, mni_coordinates, mask_file=args.mask, radius=args.radius, verbose=True)
- # preparing the data frame
- names = ["NIFTI values", "%s expression" % args.gene_name, "donor ID"]
- data = pd.DataFrame(np.array(
- [nifti_values, combined_expression_values, donor_names]).T, columns=names)
- data = data.convert_objects(convert_numeric=True)
- len_before = len(data)
- data.dropna(axis=0, inplace=True)
- nans = len_before - len(data)
- if nans > 0:
- print "%s wells fall outside of the mask" % nans
- if args.inference_method == "fixed":
- print "Performing fixed effect analysis"
- fixed_effects(data, ["NIFTI values", "%s expression" % args.gene_name])
- if args.inference_method == "approximate_random":
- print "Performing approximate random effect analysis"
- approximate_random_effects(
- data, ["NIFTI values", "%s expression" % args.gene_name], "donor ID")
- if args.inference_method == "bayesian_random":
- print "Fitting Bayesian hierarchical model"
- bayesian_random_effects(
- data, ["NIFTI values", "%s expression" % args.gene_name], "donor ID", args.n_samples, args.n_burnin)
- if __name__ == '__main__':
- main()
scripts.py at commit bc6c8f4, under BSD-3-Clause · at the source
Overview
- Department of Medical lmaging, Luoyang Maternal and Child Health Hospital, Luoyang, China
- Department of Neurosurgery, First Affiliated Hospital of Bengbu Medical College, Bengbu, Anhui, China
- Department of Pediatric Surgery, Luoyang Maternal and Child Health Hospital, Luoyang, China
- Department of Pediatrics, Huangshan City People's Hospital, Huangshan City, China
Abstract
Objective: Attention-deficit/
Methods: Voxel-based morphometry was performed on structural MRI data from 27 adolescents with ADHD and 34 typically developing (TD) controls to map regional GMV differences. The spatial pattern of these alterations was then correlated with whole-brain gene expression profiles from the Allen Human Brain Atlas using partial least squares (PLS) regression. Functional and cell-type enrichment analyses were conducted on significant gene sets. Finally, three machine-learning models (support vector machine, random forest, and decision tree) were developed to evaluate the diagnostic utility of GMV changes.
Results: Increased GMV was observed in the bilateral precuneus, and decreased GMV was found in the left middle occipital gyrus and orbital part of the right inferior frontal gyrus in ADHD compared to TD. The spatial distribution of these GMV changes was significantly correlated with a specific gene expression pattern. Functional enrichment analysis revealed that positively correlated genes were involved in fundamental cellular processes, while negatively correlated genes were associated with synaptic organization and brain development. Cell-type analysis demonstrated significant enrichment of positively correlated genes in microglia, and negatively correlated genes in excitatory and inhibitory neurons. Random Forest achieved the highest accuracy in distinguishing between ADHD and TD (AUC = 0.871 ± 0.029).
Conclusion: In summary, this study provides unique insights into the brain structural development of attention-deficit/
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.
chrisfilo/alleninf
bc6c8f41f84e420b2d0009ae207eced0f5324017, 7 September 2018Availability: 2 checks, the latest on 1 November 2026: the link answers
- 1 November 2026: the link answers
- 28 September 2026: the link answers
10 files
- alleninf/
__init__.py , Python, 1 line - alleninf/
analysis.py , Python, 97 lines - alleninf/
api.py , Python, 99 lines - alleninf/
data.py , Python, 86 lines - alleninf/
datasets.py , Python, 563 lines - alleninf/
scripts.py , Python, 111 lines, 1 match - alleninf/
utils.py , Python, 34 lines - setup.py, Python, 81 lines
- LICENSE, License, 29 lines
- README.md, Text, 89 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;
- 8 scripts, 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
Datasets cited
- openneuro:ds007116, at OpenNeuro; found in “Data availability statement”
Data availability statement
Publicly available datasets were analyzed in this study. This data can be found here: The data from the Penn Longitudinal Executive Functioning in Adolescent Development (Penn LEAD) study used in this research are publicly available on OpenNeuro (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 2, 28 September 2026
- Funding: added University of Pennsylvania
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 6 authors, 5 keywords, 30 references.
Cite
This paper
Chen, M., Zhang, R., Chen, Z., Wu, K., Wang, H., & Yu, H. (2026). Gray matter volume alterations in adolescents with ADHD are associated with cell type-specific transcriptional signatures. Frontiers in neurology, 17, 1815799. https://
BibTeX
@article{chen2026gray,
author = {Chen, Meng and Zhang, Renhao and Chen, Zhongtian and Wu, Kai and Wang, Hui and Yu, Haitao},
title = {{Gray matter volume alterations in adolescents with ADHD are associated with cell type-specific transcriptional signatures}},
journal = {Frontiers in neurology},
year = {2026},
month = may,
volume = {17},
pages = {1815799},
publisher = {Frontiers Media SA},
issn = {1664-2295},
doi = {10.3389/
url = {https://
pmid = {42293076},
pmcid = {PMC13260793}
}
RIS
TY - JOUR
AU - Chen, Meng
AU - Zhang, Renhao
AU - Chen, Zhongtian
AU - Wu, Kai
AU - Wang, Hui
AU - Yu, Haitao
TI - Gray matter volume alterations in adolescents with ADHD are associated with cell type-specific transcriptional signatures
T2 - Frontiers in neurology
J2 - Front Neurol
PY - 2026
DA - 2026/
VL - 17
SP - 1815799
SN - 1664-2295
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"type": "article-journal",
"title": "Gray matter volume alterations in adolescents with ADHD are associated with cell type-specific transcriptional signatures",
"container-title": "Frontiers in neurology",
"author": [
{
"family": "Chen",
"given": "Meng"
},
{
"family": "Zhang",
"given": "Renhao"
},
{
"family": "Chen",
"given": "Zhongtian"
},
{
"family": "Wu",
"given": "Kai"
},
{
"family": "Wang",
"given": "Hui"
},
{
"family": "Yu",
"given": "Haitao"
}
],
"container-title-short":
"volume": "17",
"page": "1815799",
"DOI": "10.3389/
"PMID": "42293076",
"PMCID": "PMC13260793",
"ISSN": "1664-2295",
"publisher": "Frontiers Media SA",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
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.1017/s003329172610405x [code]
- Cortical morphometric inverse divergence in attention-deficit/
hyperactivity disorder correlates with cell-type-specific, laminar-specific and developmental transcriptomic signatures. Journal: Psychological medicineIn common: NiBabel, pandas, SciPy, 2 other tools, ADHD, structural MRI / diffusion, 6 references - [2] doi:10.1038/s41398-025-03715-7 [code]
- Dynamic changes in hemispheric lateralization in major depressive disorder correlate with neurotransmitter and genetic profiles: a DIRECT consortium study.Journal: Translational psychiatryIn common: NiBabel, seaborn, scikit-learn, 4 other tools, 7 references
- [3] doi:10.1002/hbm.26485 [code]
- Compressed primary-to-transmodal gradient is accompanied with subcortical alterations and linked to neurotransmitters and cellular signatures in major depressive disorder.Journal: Human brain mappingIn common: PyMC, NiBabel, seaborn, 5 other tools, 3 references
- [4] doi:10.1038/s41467-026-71923-w [code]
- Integrating optogenetic fMRI and spatial transcriptomics to reveal circuit-specific gene signatures in fronto- and hippo-thalamic networks.Journal: Nature communicationsIn common: NiBabel, seaborn, scikit-learn, 4 other tools, 5 references
- [5] doi:10.1111/cns.14901 [code]
- Transcriptional expression patterns of the cortical morphometric similarity network in progressive supranuclear palsy.Journal: CNS neuroscience & therapeuticsIn common: NiBabel, pandas, SciPy, 1 other tool, structural MRI / diffusion, 6 references
- [6] doi:10.1038/s41593-026-02236-w [code]
- Organization of neuropeptide systems in the human brain.Journal: Nature neuroscienceIn common: PyMC, NiBabel, seaborn, 5 other tools, 3 references
- [7] doi:10.1186/s12916-024-03714-3 [code]
- Structure-function coupling changes in first-episode, treatment-naïve schizophrenia correlate with cell type-specific transcriptional signature.Journal: BMC medicineIn common: NiBabel, pandas, SciPy, 1 other tool, 7 references
- [8] doi:10.1038/s41398-026-03902-0 [code]
- Mapping heterogeneous brain structural subtypes in alzheimer's disease and mild cognitive impairment using normative models.Journal: Translational psychiatryIn common: PyMC, NiBabel, seaborn, 5 other tools, structural MRI / diffusion, 2 references
- [9] doi:10.1038/s41593-023-01404-6 [code]
- Regional, circuit and network heterogeneity of brain abnormalities in psychiatric disorders.Journal: Nature neuroscienceIn common: PyMC, NiBabel, seaborn, 5 other tools, ADHD, structural MRI / diffusion, 1 reference
- [10] doi:10.1186/s13195-025-01934-0 [code]
- Specific genetic and biological patterns underlying cortical morphological alterations in vascular cognitive impairment.Journal: Alzheimer's research & therapyIn common: NiBabel, seaborn, scikit-learn, 4 other tools, structural MRI / diffusion, 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, 8 scripts, 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:50e718cdc13d8588…
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.3389/fneur.2026.1815799)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3389/fneur.2026.1815799.svg
:target: https://openscicode.org/badge/doi/10.3389/fneur.2026.1815799
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3389/fneur.2026.1815799"><img src="https://openscicode.org/badge/doi/10.3389/fneur.2026.1815799.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.
