OSCR

Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match
  1. [1] § Materials and methods › Participants › EU-AIMS ↔ EU-AIMS scripts and data/utils/tables.py, lines 12–89 · score 0.76 · VABS dl, VABS soc, VABS composite, RBS, ADOS, Sums

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 · 165 lines · 5.6 KB · MIT · 1 match

  1. from __future__ import annotations
  2. from typing import Any
  3. import numpy as np
  4. import pandas as pd
  5. from scipy.stats import sem
  6. from utils.stats import get_test_and_pvalue
  7. def make_table(
  8. labels: list[str],
  9. group_idxes: list[pd.Series],
  10. test_types: list[int],
  11. metadata_frame: pd.DataFrame,
  12. ) -> pd.DataFrame:
  13. subset_df1 = metadata_frame[group_idxes[0]]
  14. subset_df2 = metadata_frame[group_idxes[1]]
  15. columns = [
  16. "tests",
  17. f"{labels[0]}(n={len(subset_df1)})",
  18. f"{labels[1]}(n={len(subset_df2)})",
  19. "T (DF) / Z,W",
  20. "P-VALUE",
  21. "Effect size",
  22. ]
  23. table = pd.DataFrame(columns=columns)
  24. n_male1 = np.sum(subset_df1["t1_sex (1 Masc; -1 fem)"] == 1)
  25. n_female1 = np.sum(subset_df1["t1_sex (1 Masc; -1 fem)"] == -1)
  26. n_male2 = np.sum(subset_df2["t1_sex (1 Masc; -1 fem)"] == 1)
  27. n_female2 = np.sum(subset_df2["t1_sex (1 Masc; -1 fem)"] == -1)
  28. table.loc[0] = [
  29. "males/females",
  30. f"{n_male1}/{n_female1}",
  31. f"{n_male2}/{n_female2}",
  32. "-",
  33. "-",
  34. "-",
  35. ]
  36. test_text, pvalue_text, eff_text, _ = get_test_and_pvalue(
  37. subset_df2,
  38. subset_df1,
  39. "t1_ageyrs",
  40. test_types[0],
  41. )
  42. table.loc[1] = [
  43. "age",
  44. f"{np.min(subset_df1['t1_ageyrs'])}-{np.max(subset_df1['t1_ageyrs'])} "
  45. f"{np.round(np.nanmean(subset_df1['t1_ageyrs']), 1)}+-{np.round(np.nanstd(subset_df1['t1_ageyrs']), 1)}",
  46. f"{np.min(subset_df2['t1_ageyrs'])}-{np.max(subset_df2['t1_ageyrs'])} "
  47. f"{np.round(np.nanmean(subset_df2['t1_ageyrs']), 1)}+-{np.round(np.nanstd(subset_df2['t1_ageyrs']), 1)}",
  48. test_text,
  49. pvalue_text,
  50. eff_text,
  51. ]
  52. def add_row(row_idx: int, label: str, colname: str, test_type_idx: int) -> None:
  53. test_text, pvalue_text, eff_text, _ = get_test_and_pvalue(
  54. subset_df2,
  55. subset_df1,
  56. colname,
  57. test_types[test_type_idx],
  58. )
  59. table.loc[row_idx] = [
  60. label,
  61. f"n={np.sum(~np.isnan(subset_df1[colname]))} "
  62. f"{np.round(np.nanmean(subset_df1[colname]), 1)}+-{np.round(sem(subset_df1[colname], nan_policy='omit'), 1)}",
  63. f"n={np.sum(~np.isnan(subset_df2[colname]))} "
  64. f"{np.round(np.nanmean(subset_df2[colname]), 1)}+-{np.round(sem(subset_df2[colname], nan_policy='omit'), 1)}",
  65. test_text,
  66. pvalue_text,
  67. eff_text,
  68. ]
  69. add_row(2, "TIQ", "t1_fsiq", 1)
  70. add_row(3, "ADOS-2", "ADOS_total", 2)
  71. add_row(4, "RBS-R", "t1_rbs_total", 2)
  72. add_row(5, "VABS-composite", "t1_vabsabcabc_standard", 3)
  73. add_row(6, "VABS-com", "t1_vabsdscoresc_dss", 4)
  74. add_row(7, "VABS-dl", "t1_vabsdscoresd_dss", 5)
  75. add_row(8, "VABS-soc", "t1_vabsdscoress_dss", 6)
  76. return table
  77. def build_euaims_masks(alternative_conditions: list[dict[str, Any]]) -> dict[str, pd.Series]:
  78. asd_and_agegroup = np.array(alternative_conditions[0]["condition_column"])
  79. children_adol_mask = pd.Series(asd_and_agegroup).str.contains("Children|Adolescent")
  80. adults_mask = pd.Series(asd_and_agegroup).str.contains("Adults")
  81. asd_mask = pd.Series(asd_and_agegroup).str.contains("ASD")
  82. con_mask = pd.Series(asd_and_agegroup).str.contains("CONTROL")
  83. asd_and_nl = np.array(alternative_conditions[3]["condition_column"])
  84. nl_mask = pd.Series(asd_and_nl).str.contains("NL")
  85. abn_mask = pd.Series(asd_and_nl).str.contains("ABN")
  86. childadol_mask = pd.Series(asd_and_nl).str.contains("Child-Adol")
  87. return {
  88. "children_adol_mask": children_adol_mask,
  89. "adults_mask": adults_mask,
  90. "asd_mask": asd_mask,
  91. "con_mask": con_mask,
  92. "nl_mask": nl_mask,
  93. "abn_mask": abn_mask,
  94. "childadol_mask": childadol_mask,
  95. }
  96. def run_demographic_tables(
  97. metadata_frame_euaims: pd.DataFrame,
  98. masks: dict[str, pd.Series],
  99. ) -> dict[str, pd.DataFrame]:
  100. children_adol_mask = masks["children_adol_mask"]
  101. adults_mask = masks["adults_mask"]
  102. asd_mask = masks["asd_mask"]
  103. con_mask = masks["con_mask"]
  104. nl_mask = masks["nl_mask"]
  105. abn_mask = masks["abn_mask"]
  106. childadol_mask = masks["childadol_mask"]
  107. tables = {
  108. "Table_S1.child_adol_con_vs_asd": make_table(
  109. labels=["CON", "ASD"],
  110. group_idxes=[children_adol_mask & con_mask, children_adol_mask & asd_mask],
  111. test_types=[1, 1, 1, 1, 1, 1, 0],
  112. metadata_frame=metadata_frame_euaims,
  113. ),
  114. "Table_S1.adults_con_vs_asd": make_table(
  115. labels=["CON", "ASD"],
  116. group_idxes=[adults_mask & con_mask, adults_mask & asd_mask],
  117. test_types=[1, 1, 0, 0, 0, 0, 0],
  118. metadata_frame=metadata_frame_euaims,
  119. ),
  120. "Table_S3.child_adol_con_nl_vs_abn": make_table(
  121. labels=["CON_nl", "CON_abn"],
  122. group_idxes=[
  123. childadol_mask & con_mask & nl_mask,
  124. childadol_mask & con_mask & abn_mask,
  125. ],
  126. test_types=[1, 0, 1, 0, 0, 0, 0],
  127. metadata_frame=metadata_frame_euaims,
  128. ),
  129. "Table_S3.child_adol_asd_nl_vs_abn": make_table(
  130. labels=["ASD_nl", "ASD_abn"],
  131. group_idxes=[
  132. childadol_mask & asd_mask & nl_mask,
  133. childadol_mask & asd_mask & abn_mask,
  134. ],
  135. test_types=[1, 1, 1, 1, 1, 1, 1],
  136. metadata_frame=metadata_frame_euaims,
  137. ),
  138. }
  139. for name, table in tables.items():
  140. print(f"\n{name}")
  141. print(table)
  142. print(np.sum(con_mask & abn_mask) / np.sum(con_mask))
  143. return tables

tables.py, under MIT · at the source

Overview

Authors: Arthur-Ervin Avramiea1,2, Erika L. Juarez-Martinez1,2, Pilar Garcés3, Joerg F. Hipp3, Simon-Shlomo Poil4, Marina Diachenko1, Huibert D. Mansvelder1, Emily Jones5, Luke Mason6, Declan Murphy6,7, Eva Loth6, Bethany Oakley6, Tony Charman8, Tobias Banaschewski9, Bob Oranje10, Jan Buitelaar11, Hilgo Bruining2,12,13, Klaus Linkenkaer-Hansen1
13 affiliations
  1. Department of Integrative Neurophysiology, Center for Neurogenomics and Cognitive Research, (CNCR), Amsterdam Neuroscience, VU Amsterdam,De Boelelaan 1100, 1081 HV Amsterdam, The Netherlands
  2. Child and Adolescent Psychiatry and Psychosocial Care, Emma Children’s Hospital, Amsterdam UMC, Vrije Universiteit Amsterdam,Meibergdreef 5, 1105 AZ Amsterdam, The Netherlands
  3. Roche Pharma Research and Early Development, Neuroscience and Rare Diseases, Roche Innovation Center Basel,Basel, Switzerland
  4. Aspect Neuroprofiles BV, Amsterdam, The Netherlands
  5. Department of Psychological Sciences, Centre for Brain and Cognitive Development, Birkbeck, University of London,London, UK
  6. Department of Forensic and Neurodevelopmental Sciences, Institute of Psychiatry, Psychology and Neuroscience, King’s College London,London, UK
  7. Institute for Translational Neurodevelopment/ South London and Maudsley, NHS Foundation Trust,London, UK
  8. Department of Psychology, Institute of Psychiatry, Psychology and Neuroscience, King’s College London,London, UK
  9. Department of Child and Adolescent Psychiatry and Psychotherapy, Central Institute of Mental Health, Medical Faculty Mannheim, University of Heidelberg, German Center for Mental Health (DZPG), Partner Site Mannheim-Heidelberg-Ulm,Mannheim, Germany
  10. Center for Neuropsychiatric Schizophrenia Research (CNSR), Psychiatric Center Glostrup, Copenhagen University Hospital,Copenhagen, Denmark
  11. Department of Medical Neuroscience, Donders Institute for Brain, Cognition and Behaviour, Radboudumc,Nijmegen, The Netherlands
  12. N=You Neurodevelopmental Precision Center, Amsterdam Neuroscience, Amsterdam Reproduction and Development, Amsterdam UMC,Amsterdam, The Netherlands
  13. Levvel, Center for Child and Adolescent Psychiatry,Amsterdam, The Netherlands
Institutions: Amsterdam Neuroscience (Netherlands); Vrije Universiteit Amsterdam (Netherlands); Roche (Switzerland) (Switzerland); University of London (United Kingdom); King's College London (United Kingdom); National Health Service (United Kingdom); Central Institute of Mental Health (Germany); Copenhagen University Hospital (Denmark); Radboud University Medical Center (Netherlands); Levvel (Netherlands)
Journal: Scientific reports, volume 16, issue 1, article 16055
Dates: received 5 March 2025; accepted 24 February 2026; published online 3 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-42120-y · PMID 41932958 · PMCID PMC13199430 · OpenAlex W7148738596
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: EEG (modality), human (organism), autism (population), developmental (subfield)
Methods: Spectral & time-frequency, Connectivity, Statistics, Smoothing, state filtering, decompositions, Preprocessing, Complexity
Keywords: Autism spectrum disorder, EEG, Excitation-inhibition balance, Autism spectrum disorders, Inhibition-excitation balance
MeSH: Autism Spectrum Disorder*, Brain*, Electroencephalography*, Adolescent, Child, Female, Humans, Male (* major topic)
Topic: Autism Spectrum Disorder Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Nederlandse Organisatie voor Wetenschappelijk Onderzoek (406-15-256, 10250022110003, 612.001.123); H2020 Society (604102); NWA (NWA.1160.18.200); Amsterdam UMC TKI grant BRAINinBALANCE (project number 31556-2012377)
Citations: cited by 1 paper (Europe PMC); 103 references in the paper

Abstract

Qualitative EEG abnormalities are common in Autism Spectrum Disorder (ASD) and hypothesized to reflect disrupted excitation/inhibition (E/I) balance. To test this, we recently introduced a functional measure of network-level E/I ratio (fE/I). Here, we applied fE/I and other EEG measures to alpha oscillations from source-reconstructed data in the EU-AIMS dataset (267 ASD, 209 controls). We analyzed these measures alongside qualitative EEG abnormalities ranging from slowing of activity to epileptiform patterns, aiming to replicate the findings from the SPACE-BAMBI study. Contrary to our previous report, we did not observe increased fE/I variability in ASD compared to controls. EEG abnormalities were rare in adults and could not be statistically assessed. ASD children-adolescents with EEG abnormalities exhibited lower relative alpha power and fE/I compared to those without. However, EEG-abnormality scoring did not stratify the behavioral heterogeneity of ASD using clinical measures. Surprisingly, several controls also exhibited qualitative EEG abnormalities with a strikingly similar anatomical distribution of reduced fE/I, reflecting inhibition-dominated network dynamics in sensory processing regions. The robustness of this association between EEG abnormalities and reduced fE/I was further supported by re-analysis of the SPACE-BAMBI study in source space. Stratification by the presence of EEG abnormalities and their effects on network activity may help understand neurodevelopmental physiological heterogeneity and the difficulties in implementing E/I targeting treatments in unselected cohorts.

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-42120-y.

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

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

figshare 31634182

License: MIT
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (7 files), pandas (5 files), SciPy (4 files), Matplotlib (2 files), statsmodels (2 files), seaborn (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
10 files

rhardstone/fei](https:

License: none: the authors keep all their rights
State: the link is dead, verified on 28 September 2026
Evidence: found in the paper
Software Heritage: not archived
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link is dead
  • 28 September 2026: the link is dead

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:

  • 2 repositories 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;
  • 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 availability

Due to privacy regulations of human subjects, we cannot provide the EEG files of the subjects included in our study. Analysis scripts to reproduce the figures and statistics, along with the underlying data, will be made available on figshare (https://doi.org/10.6084/m9.figshare.31634182), a website dedicated for sharing scientific data. The code for the fE/I algorithm is publicly available at [https://github.com/rhardstone/fEI](https:/github.com/rhardstone/fEI).

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

Recorded: type, language, journal, volume, issue, pages, dates, 18 authors, 5 keywords, 8 MeSH terms, 4 funders, 93 references.

Cite

This paper

Avramiea, A.-E., Juarez-Martinez, E. L., Garcés, P., Hipp, J. F., Poil, S.-S., Diachenko, M., Mansvelder, H. D., Jones, E., Mason, L., Murphy, D., Loth, E., Oakley, B., Charman, T., Banaschewski, T., Oranje, B., Buitelaar, J., Bruining, H., & Linkenkaer-Hansen, K. (2026). Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics. Scientific reports, 16(1), 16055. https://doi.org/10.1038/s41598-026-42120-y

BibTeX

@article{avramiea2026qualitative,
author = {Avramiea, Arthur-Ervin and Juarez-Martinez, Erika L. and Garcés, Pilar and Hipp, Joerg F. and Poil, Simon-Shlomo and Diachenko, Marina and Mansvelder, Huibert D. and Jones, Emily and Mason, Luke and Murphy, Declan and Loth, Eva and Oakley, Bethany and Charman, Tony and Banaschewski, Tobias and Oranje, Bob and Buitelaar, Jan and Bruining, Hilgo and Linkenkaer-Hansen, Klaus},
title = {{Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {16055},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-42120-y},
url = {https://doi.org/10.1038/s41598-026-42120-y},
pmid = {41932958},
pmcid = {PMC13199430}
}

RIS

TY - JOUR
AU - Avramiea, Arthur-Ervin
AU - Juarez-Martinez, Erika L.
AU - Garcés, Pilar
AU - Hipp, Joerg F.
AU - Poil, Simon-Shlomo
AU - Diachenko, Marina
AU - Mansvelder, Huibert D.
AU - Jones, Emily
AU - Mason, Luke
AU - Murphy, Declan
AU - Loth, Eva
AU - Oakley, Bethany
AU - Charman, Tony
AU - Banaschewski, Tobias
AU - Oranje, Bob
AU - Buitelaar, Jan
AU - Bruining, Hilgo
AU - Linkenkaer-Hansen, Klaus
TI - Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/04/03
VL - 16
IS - 1
SP - 16055
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-42120-y
UR - https://doi.org/10.1038/s41598-026-42120-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-42120-y",
"type": "article-journal",
"title": "Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics",
"container-title": "Scientific reports",
"author": [
{
"family": "Avramiea",
"given": "Arthur-Ervin"
},
{
"family": "Juarez-Martinez",
"given": "Erika L."
},
{
"family": "Garcés",
"given": "Pilar"
},
{
"family": "Hipp",
"given": "Joerg F."
},
{
"family": "Poil",
"given": "Simon-Shlomo"
},
{
"family": "Diachenko",
"given": "Marina"
},
{
"family": "Mansvelder",
"given": "Huibert D."
},
{
"family": "Jones",
"given": "Emily"
},
{
"family": "Mason",
"given": "Luke"
},
{
"family": "Murphy",
"given": "Declan"
},
{
"family": "Loth",
"given": "Eva"
},
{
"family": "Oakley",
"given": "Bethany"
},
{
"family": "Charman",
"given": "Tony"
},
{
"family": "Banaschewski",
"given": "Tobias"
},
{
"family": "Oranje",
"given": "Bob"
},
{
"family": "Buitelaar",
"given": "Jan"
},
{
"family": "Bruining",
"given": "Hilgo"
},
{
"family": "Linkenkaer-Hansen",
"given": "Klaus"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "16055",
"DOI": "10.1038/s41598-026-42120-y",
"PMID": "41932958",
"PMCID": "PMC13199430",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-42120-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
3
]
]
}
}

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/s44220-026-00656-y [code]
Multiscale heterogeneity of atypical functional connectivity in autism.
Journal: Nature. Mental health
In common: autism, 3 references, 2 authors
[2] doi:10.21203/rs.3.rs-10317780/v1 [code]
Attenuation of typical sex differences in the time-resolved functional connectivity of the fusiform gyrus in autism
Journal: Research Square (preprint)
In common: autism, 2 references, 2 authors
[3] doi:10.1038/s41398-026-04132-0 [code]
Early Trajectories of Resting-State EEG power in autistic children: a longitudinal study across language profiles.
Journal: Translational psychiatry
In common: seaborn, pandas, Matplotlib, 1 other tool, autism, EEG, 5 references
[4] doi:10.1162/imag.a.1252 [code]
Does the brain's E:I balance really shape long-range temporal correlations? Lessons learned from 3T MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: seaborn, pandas, SciPy, 2 other tools, 5 references
[5] doi:10.1002/aur.70314
Task-Related Aperiodic EEG (1/f) Activity in Autism.
Journal: Autism research : official journal of the International Society for Autism Research
In common: autism, EEG, 6 references
[6] doi:10.1111/ejn.70255 [code]
A Systematic Review of Aperiodic Neural Activity in Clinical Investigations
Journal: n/a
In common: seaborn, pandas, Matplotlib, 1 other tool, EEG, 4 references
[7] doi:10.1162/imag.a.1269 [code]
From early to contemporary normative modeling: Mapping individual differences in neurophysiological signals.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: statsmodels, seaborn, pandas, 3 other tools, EEG, 3 references
[8] doi:10.64898/2026.06.02.26354318 [code]
Attenuation of typical sex differences in the time-resolved functional connectivity of the fusiform gyrus in autism
Journal: medRxiv (preprint)
In common: autism, 2 references, author Tony Charman
[9] doi:10.3389/fncom.2026.1753444 [code]
NMDA receptor kinetics drive distinct routes to chaotic firing in pyramidal neurons.
Journal: Frontiers in computational neuroscience
In common: seaborn, pandas, SciPy, 2 other tools, 3 references
[10] doi:10.64898/2026.07.14.26358047 [code]
From Genes to Neurochemistry: Excitation and Inhibition Mechanisms of Sensory Differences in Autism
Journal: medRxiv (preprint)
In common: autism, 5 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.

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.