Qualitative EEG abnormalities in ASD reflect inhibition-dominated brain dynamics.
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] § Materials and methods › Participants › EU-AIMS ↔ EU-AIMS scripts and data/utils/tables.py, lines 12 to 89 · score 0.76 · VABS dl, VABS soc, VABS composite, RBS, ADOS, Sums · block
oscr:b:TJFYRSCG9Y8K8-Z· 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 · 165 lines · 5.6 KB · MIT · 1 match
- from __future__ import annotations
- from typing import Any
- import numpy as np
- import pandas as pd
- from scipy.stats import sem
- from utils.stats import get_test_and_pvalue
- def make_table(
- labels: list[str],
- group_idxes: list[pd.Series],
- test_types: list[int],
- metadata_frame: pd.DataFrame,
- ) -> pd.DataFrame:
- subset_df1 = metadata_frame[group_idxes[0]]
- subset_df2 = metadata_frame[group_idxes[1]]
- columns = [
- "tests",
- f"{labels[0]}(n={len(subset_df1)})",
- f"{labels[1]}(n={len(subset_df2)})",
- "T (DF) / Z,W",
- "P-VALUE",
- "Effect size",
- ]
- table = pd.DataFrame(columns=columns)
- n_male1 = np.sum(subset_df1["t1_sex (1 Masc; -1 fem)"] == 1)
- n_female1 = np.sum(subset_df1["t1_sex (1 Masc; -1 fem)"] == -1)
- n_male2 = np.sum(subset_df2["t1_sex (1 Masc; -1 fem)"] == 1)
- n_female2 = np.sum(subset_df2["t1_sex (1 Masc; -1 fem)"] == -1)
- table.loc[0] = [
- "males/females",
- f"{n_male1}/{n_female1}",
- f"{n_male2}/{n_female2}",
- "-",
- "-",
- "-",
- ]
- test_text, pvalue_text, eff_text, _ = get_test_and_pvalue(
- subset_df2,
- subset_df1,
- "t1_ageyrs",
- test_types[0],
- )
- table.loc[1] = [
- "age",
- f"{np.min(subset_df1['t1_ageyrs'])}-{np.max(subset_df1['t1_ageyrs'])} "
- f"{np.round(np.nanmean(subset_df1['t1_ageyrs']), 1)}+-{np.round(np.nanstd(subset_df1['t1_ageyrs']), 1)}",
- f"{np.min(subset_df2['t1_ageyrs'])}-{np.max(subset_df2['t1_ageyrs'])} "
- f"{np.round(np.nanmean(subset_df2['t1_ageyrs']), 1)}+-{np.round(np.nanstd(subset_df2['t1_ageyrs']), 1)}",
- test_text,
- pvalue_text,
- eff_text,
- ]
- def add_row(row_idx: int, label: str, colname: str, test_type_idx: int) -> None:
- test_text, pvalue_text, eff_text, _ = get_test_and_pvalue(
- subset_df2,
- subset_df1,
- colname,
- test_types[test_type_idx],
- )
- table.loc[row_idx] = [
- label,
- f"n={np.sum(~np.isnan(subset_df1[colname]))} "
- f"{np.round(np.nanmean(subset_df1[colname]), 1)}+-{np.round(sem(subset_df1[colname], nan_policy='omit'), 1)}",
- f"n={np.sum(~np.isnan(subset_df2[colname]))} "
- f"{np.round(np.nanmean(subset_df2[colname]), 1)}+-{np.round(sem(subset_df2[colname], nan_policy='omit'), 1)}",
- test_text,
- pvalue_text,
- eff_text,
- ]
- add_row(2, "TIQ", "t1_fsiq", 1)
- add_row(3, "ADOS-2", "ADOS_total", 2)
- add_row(4, "RBS-R", "t1_rbs_total", 2)
- add_row(5, "VABS-composite", "t1_vabsabcabc_standard", 3)
- add_row(6, "VABS-com", "t1_vabsdscoresc_dss", 4)
- add_row(7, "VABS-dl", "t1_vabsdscoresd_dss", 5)
- add_row(8, "VABS-soc", "t1_vabsdscoress_dss", 6)
- return table
- def build_euaims_masks(alternative_conditions: list[dict[str, Any]]) -> dict[str, pd.Series]:
- asd_and_agegroup = np.array(alternative_conditions[0]["condition_column"])
- children_adol_mask = pd.Series(asd_and_agegroup).str.contains("Children|Adolescent")
- adults_mask = pd.Series(asd_and_agegroup).str.contains("Adults")
- asd_mask = pd.Series(asd_and_agegroup).str.contains("ASD")
- con_mask = pd.Series(asd_and_agegroup).str.contains("CONTROL")
- asd_and_nl = np.array(alternative_conditions[3]["condition_column"])
- nl_mask = pd.Series(asd_and_nl).str.contains("NL")
- abn_mask = pd.Series(asd_and_nl).str.contains("ABN")
- childadol_mask = pd.Series(asd_and_nl).str.contains("Child-Adol")
- return {
- "children_adol_mask": children_adol_mask,
- "adults_mask": adults_mask,
- "asd_mask": asd_mask,
- "con_mask": con_mask,
- "nl_mask": nl_mask,
- "abn_mask": abn_mask,
- "childadol_mask": childadol_mask,
- }
- def run_demographic_tables(
- metadata_frame_euaims: pd.DataFrame,
- masks: dict[str, pd.Series],
- ) -> dict[str, pd.DataFrame]:
- children_adol_mask = masks["children_adol_mask"]
- adults_mask = masks["adults_mask"]
- asd_mask = masks["asd_mask"]
- con_mask = masks["con_mask"]
- nl_mask = masks["nl_mask"]
- abn_mask = masks["abn_mask"]
- childadol_mask = masks["childadol_mask"]
- tables = {
- "Table_S1.child_adol_con_vs_asd": make_table(
- labels=["CON", "ASD"],
- group_idxes=[children_adol_mask & con_mask, children_adol_mask & asd_mask],
- test_types=[1, 1, 1, 1, 1, 1, 0],
- metadata_frame=metadata_frame_euaims,
- ),
- "Table_S1.adults_con_vs_asd": make_table(
- labels=["CON", "ASD"],
- group_idxes=[adults_mask & con_mask, adults_mask & asd_mask],
- test_types=[1, 1, 0, 0, 0, 0, 0],
- metadata_frame=metadata_frame_euaims,
- ),
- "Table_S3.child_adol_con_nl_vs_abn": make_table(
- labels=["CON_nl", "CON_abn"],
- group_idxes=[
- childadol_mask & con_mask & nl_mask,
- childadol_mask & con_mask & abn_mask,
- ],
- test_types=[1, 0, 1, 0, 0, 0, 0],
- metadata_frame=metadata_frame_euaims,
- ),
- "Table_S3.child_adol_asd_nl_vs_abn": make_table(
- labels=["ASD_nl", "ASD_abn"],
- group_idxes=[
- childadol_mask & asd_mask & nl_mask,
- childadol_mask & asd_mask & abn_mask,
- ],
- test_types=[1, 1, 1, 1, 1, 1, 1],
- metadata_frame=metadata_frame_euaims,
- ),
- }
- for name, table in tables.items():
- print(f"\n{name}")
- print(table)
- print(np.sum(con_mask & abn_mask) / np.sum(con_mask))
- return tables
tables.py, under MIT · at the source
Overview
13 affiliations
- Department of Integrative Neurophysiology, Center for Neurogenomics and Cognitive Research, (CNCR), Amsterdam Neuroscience, VU Amsterdam,De Boelelaan 1100, 1081 HV Amsterdam, The Netherlands
- Child and Adolescent Psychiatry and Psychosocial Care, Emma Children’s Hospital, Amsterdam UMC, Vrije Universiteit Amsterdam,Meibergdreef 5, 1105 AZ Amsterdam, The Netherlands
- Roche Pharma Research and Early Development, Neuroscience and Rare Diseases, Roche Innovation Center Basel,Basel, Switzerland
- Aspect Neuroprofiles BV, Amsterdam, The Netherlands
- Department of Psychological Sciences, Centre for Brain and Cognitive Development, Birkbeck, University of London,London, UK
- Department of Forensic and Neurodevelopmental Sciences, Institute of Psychiatry, Psychology and Neuroscience, King’s College London,London, UK
- Institute for Translational Neurodevelopment/ South London and Maudsley, NHS Foundation Trust,London, UK
- Department of Psychology, Institute of Psychiatry, Psychology and Neuroscience, King’s College London,London, UK
- 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
- Center for Neuropsychiatric Schizophrenia Research (CNSR), Psychiatric Center Glostrup, Copenhagen University Hospital,Copenhagen, Denmark
- Department of Medical Neuroscience, Donders Institute for Brain, Cognition and Behaviour, Radboudumc,Nijmegen, The Netherlands
- N=You Neurodevelopmental Precision Center, Amsterdam Neuroscience, Amsterdam Reproduction and Development, Amsterdam UMC,Amsterdam, The Netherlands
- Levvel, Center for Child and Adolescent Psychiatry,Amsterdam, The Netherlands
Abstract
Qualitative EEG abnormalities are common in Autism Spectrum Disorder (ASD) and hypothesized to reflect disrupted excitation/
Supplementary Information: The online version contains supplementary material available at 10.1038/
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
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
10 files
- EU-AIMS scripts and data/
main.py , Python, 34 lines - EU-AIMS scripts and data/
utils/ , Python, 1 line__init__.py - EU-AIMS scripts and data/
utils/ , Python, 105 linescorrelations.py - EU-AIMS scripts and data/
utils/ , Python, 49 linesdata_loading.py - EU-AIMS scripts and data/
utils/ , Python, 148 linesdfa.py - EU-AIMS scripts and data/
utils/ , Python, 452 linesfigures.py - EU-AIMS scripts and data/
utils/ , Python, 274 linesplotting.py - EU-AIMS scripts and data/
utils/ , Python, 17 linesproperties.py - EU-AIMS scripts and data/
utils/ , Python, 196 linesstats.py - EU-AIMS scripts and data/
utils/ , Python, 165 lines, 1 matchtables.py
rhardstone/fei](https:
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://
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://
BibTeX
@article{avramiea2026qua
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/
url = {https://
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/
VL - 16
IS - 1
SP - 16055
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "16",
"issue": "1",
"page": "16055",
"DOI": "10.1038/
"PMID": "41932958",
"PMCID": "PMC13199430",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://
"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.1162/imag_a_00318 [code]
- Functional excitation-inhibition ratio indicates near-critical oscillations across frequencies.Journal: Imaging neuroscience (Cambridge, Mass.)In common: SciPy, Matplotlib, NumPy, EEG, 14 references, 4 authors
- [2] doi:10.1093/braincomms/fcaf443 [code]
- Hippocampal and cortical activities reflect early hyperexcitability in an Alzheimer's mouse model.Journal: Brain communicationsIn common: pandas, SciPy, Matplotlib, 1 other tool, 4 references, 3 authors
- [3] doi:10.1002/nbm.70171 [code]
- In Vivo Glx Measurements From GABA-Edited HERMES at 3 T Are Not Consistent With Those From Short-TE PRESS Across Scanners, Brain Regions, Diagnostic and Age Groups.Journal: NMR in biomedicineIn common: 5 references, 3 authors
- [4] doi:10.1038/s41598-022-22597-z
- Intellectually able adults with autism spectrum disorder show typical resting-state EEG activity.Journal: Scientific reportsIn common: autism, EEG, 7 references, 2 authors
- [5] doi:10.3389/fninf.2022.1025847 [code]
- Robin's Viewer: Using deep-learning predictions to assist EEG annotation.Journal: Frontiers in neuroinformaticsIn common: statsmodels, pandas, SciPy, 2 other tools, EEG, 3 authors
- [6] doi:10.1523/eneuro.0160-22.2022 [code]
- Improved Manual Annotation of EEG Signals through Convolutional Neural Network Guidance.Journal: eNeuroIn common: pandas, SciPy, Matplotlib, 1 other tool, EEG, 1 reference, 3 authors
- [7] doi:10.1038/s41380-023-02016-z [code]
- Cross-sectional and longitudinal neuroanatomical profiles of distinct clinical (adaptive) outcomes in autism.Journal: Molecular psychiatryIn common: NumPy, autism, 2 references, 3 authors
- [8] doi:10.1038/s41598-023-33973-8 [code]
- Resting-state oscillations reveal disturbed excitation-inhibition ratio in Alzheimer's disease patients.Journal: Scientific reportsIn common: 6 references, 2 authors
- [9] doi:10.1371/journal.pcbi.1009477 [code]
- The meaning of significant mean group differences for biomarker discovery.Journal: PLoS computational biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, autism, 3 authors
- [10] doi:10.1186/s13229-025-00700-1 [code]
- Resting state aperiodic and periodic EEG activity in preschool-aged autistic children: differences from neurotypical peers and links to language skills.Journal: Molecular autismIn common: statsmodels, seaborn, pandas, 3 other tools, autism, EEG, 8 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: 2 repositories of the authors' code, each at its verified commit and with its license, 10 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:67e23ea92b82acbe…
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.1038/s41598-026-42120-y)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-42120-y.svg
:target: https://openscicode.org/badge/doi/10.1038/s41598-026-42120-y
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-42120-y"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-42120-y.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.
