Biochemical and brain heterogeneity characterizes psychiatric and non-psychiatric illness.
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
R · 69 lines · 2 KB · no license
- # GAMLSS Z-score Calculation Script for Biochemical Data (SHASH Distribution)
- # Author: Maria Di Biase
- # Description: This script fits a GAMLSS model using the SHASH distribution
- # and computes z-scores for all subjects in the dataset based on predicted
- # distribution parameters (mu, sigma, nu, tau).
- rm(list = ls())
- # Load necessary libraries
- library(gamlss)
- library(R.matlab)
- library(pracma)
- # Set working directory
- setwd("GAMLSS_input_biochem/")
- # Define output path
- PATH_OUT <- "GAMLSS_output/"
- # Define the biochemical measure
- biochem_measure <- 'Eosinophill_percentage'
- FN <- paste("GAMLSSinput_Biochem_", biochem_measure, ".mat", sep="")
- # Load input data
- M <- readMat(FN)
- biochem_measure_data <- as.data.frame(M$biochem.measure)
- mydata_tmp <- as.data.frame(cbind(M$AGE, M$SEX, M$data))
- names(mydata_tmp) <- c("age", "sex", "phenotype")
- # Filter healthy controls
- ind <- which(M$DX[,1] %in% c(1))
- mydata <- mydata_tmp[ind, ]
- # Fit the GAMLSS model
- fam_dist <- 'SHASH'
- mdl <- gamlss(phenotype ~ fp(age, npoly=1) + sex,
- sigma.fo = ~fp(age, npoly=1),
- family = fam_dist,
- data = mydata,
- robust = TRUE)
- # Generate z-scores for all subjects
- n <- nrow(mydata_tmp)
- z_scores <- rep(NA, n)
- p <- rep(NA, n)
- for (sub in 1:n) {
- sub_data <- data.frame(age = mydata_tmp$age[sub],
- sex = mydata_tmp$sex[sub],
- phenotype = mydata_tmp$phenotype[sub])
- # Predict parameters
- params <- predictAll(mdl, newdata = sub_data)
- # Calculate CDF value for observed phenotype
- p[sub] <- pSHASH(mydata_tmp$phenotype[sub],
- mu = params$mu,
- sigma = params$sigma,
- nu = params$nu,
- tau = params$tau)
- # Convert CDF to z-score using standard normal inverse
- z_scores[sub] <- qNO(p[sub])
- }
- # Export results
- output_file <- paste(PATH_OUT, "GAMLSSout_main_ZSCORES", biochem_measure, ".mat", sep = "")
- writeMat(output_file, z_scores_unseen_subs = z_scores)
gamlss_zscore.R at commit 512b732, no license · at the source
Overview
- Department of Psychiatry, Melbourne Medical School, The University of Melbourne,Melbourne, VIC Australia
- Department of Anatomy and Physiology, School of Biomedical Sciences, The University of Melbourne,Melbourne, VIC Australia
- Department of Psychiatry, Brigham and Women’s Hospital, Harvard Medical School,Boston, MA USA
- Menzies Institute for Medical Research, University of Tasmania,Hobart, TAS Australia
- Centre for Mental Health and Brain Sciences, Swinburne University,Melbourne, VIC Australia
- InsideOut Institute, University of Sydney and Sydney Local Health District,Sydney, NSW Australia
- Laboratory of AI and Biomedical Science (LABS), Columbia University,New York, NY USA
- Western Centre for Health Research & Education (WCHRE), University of Melbourne & Western Health, Sunshine Hospital,St. Albans, VIC Australia
- Monash Institute of Pharmaceutical Sciences (MIPS), Monash University,Melbourne, Australia
- Faculty of Engineering and Information Technology, The University of Melbourne,Melbourne, VIC Australia
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above.
mdibiase1/Heterogeneity-Project---GAMLSS-modeling
512b7321d3cf8b86991f05148a2a75c14034dd1c, 16 June 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
2 files
- gamlss_zscore.R, R, 69 lines
- README.md, Text, 42 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: mdibiase1/
Heterogeneity-Project--- GAMLSS-modeling
Read it in the paper: doi.org/10.1038/s41467-026-72604-4.
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;
- no match between paragraphs and code yet;
- 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 statement
The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1038/s41467-026-72604-4.
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, 12 authors, 2 keywords, 9 MeSH terms, 1 funder, 51 references.
Cite
This paper
Di Biase, M. A., Reay, W. R., Jameei, H., Liu, Y., Tian, Y. E., Ringin, E., Rossell, S., Karantonis, J. A., Van Rheenen, T. E., Wen, J., Pantelis, C., & Zalesky, A. (2026). Biochemical and brain heterogeneity characterizes psychiatric and non-psychiatric illness. Nature communications, 17(1), 6235. https://
BibTeX
@article{dibiase2026bioc
author = {Di Biase, Maria A. and Reay, William R. and Jameei, Hadis and Liu, Yuanzhe and Tian, Ye E. and Ringin, Elysha and Rossell, Susan and Karantonis, James A. and Van Rheenen, Tamsyn E. and Wen, Junhao and Pantelis, Christos and Zalesky, Andrew},
title = {{Biochemical and brain heterogeneity characterizes psychiatric and non-psychiatric illness}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {6235},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42103728},
pmcid = {PMC13369505}
}
RIS
TY - JOUR
AU - Di Biase, Maria A.
AU - Reay, William R.
AU - Jameei, Hadis
AU - Liu, Yuanzhe
AU - Tian, Ye E.
AU - Ringin, Elysha
AU - Rossell, Susan
AU - Karantonis, James A.
AU - Van Rheenen, Tamsyn E.
AU - Wen, Junhao
AU - Pantelis, Christos
AU - Zalesky, Andrew
TI - Biochemical and brain heterogeneity characterizes psychiatric and non-psychiatric illness
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 6235
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Biochemical and brain heterogeneity characterizes psychiatric and non-psychiatric illness",
"container-title": "Nature communications",
"author": [
{
"family": "Di Biase",
"given": "Maria A."
},
{
"family": "Reay",
"given": "William R."
},
{
"family": "Jameei",
"given": "Hadis"
},
{
"family": "Liu",
"given": "Yuanzhe"
},
{
"family": "Tian",
"given": "Ye E."
},
{
"family": "Ringin",
"given": "Elysha"
},
{
"family": "Rossell",
"given": "Susan"
},
{
"family": "Karantonis",
"given": "James A."
},
{
"family": "Van Rheenen",
"given": "Tamsyn E."
},
{
"family": "Wen",
"given": "Junhao"
},
{
"family": "Pantelis",
"given": "Christos"
},
{
"family": "Zalesky",
"given": "Andrew"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "6235",
"DOI": "10.1038/
"PMID": "42103728",
"PMCID": "PMC13369505",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
8
]
]
}
}
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.1153 [code]
- TRAMFIX: TRavelling Across Melbourne for FIXel-based analysis (a reproducibility and reliability study).Journal: Imaging neuroscience (Cambridge, Mass.)In common: 2 authors
- [2] doi:10.1038/s41537-026-00728-z
- An ENIGMA Consortium study of the relationship between white matter microstructure and positive and negative symptom severity in patients with schizophrenia.Journal: Schizophrenia (Heidelberg, Germany)In common: schizophrenia / psychosis, clinical / translational, 1 reference, author Christos Pantelis
- [3] doi:10.1038/s41380-026-03547-x [code]
- Multiscale characterization of cortical signatures in positive and negative schizotypy: a worldwide ENIGMA study.Journal: Molecular psychiatryIn common: schizophrenia / psychosis, 1 reference, author Christos Pantelis
- [4] doi:10.64898/2026.08.13.26360304 [code]
- Lifespan brain structural variation reveals shared organization across mental health conditionsJournal: medRxiv (preprint)In common: clinical / translational, 1 reference, author Christos Pantelis
- [5] doi:10.64898/2026.03.31.26349848 [code]
- Mapping Individual Neuroanatomical Alterations to Schizophrenia Psychopathology with Normative ModelingJournal: medRxiv (preprint)In common: schizophrenia / psychosis, 3 references
- [6] doi:10.1097/j.pain.0000000000003995 [code]
- Cumulative impacts of early-life interpersonal adversity and persistent/
recurrent pain in children: a longitudinal normative modelling study from the ABCD study cohort. Journal: PainIn common: author William R. Reay - [7] doi:10.1162/netn.a.550 [code]
- Evaluating oscillatory mechanisms underlying flexible neural communication in the human brain.Journal: Network neuroscience (Cambridge, Mass.)In common: author Andrew Zalesky
- [8] doi:10.64898/2026.05.18.26353539 [code]
- The Hidden Architecture of Brain Structural Variability in 22q11.2 Deletion Syndrome: A Multi-site StudyJournal: medRxiv (preprint)In common: 3 references
- [9] doi:10.1038/s41467-026-75585-6 [code]
- Brain network dynamics reflect psychiatric illness status and transdiagnostic symptom profiles across health and disease.Journal: Nature communicationsIn common: schizophrenia / psychosis, 2 references
- [10] doi:10.21203/rs.3.rs-9246968/v1 [code]
- Copy number variants reveal divergent genetic and diagnostic cortical signatures across psychiatric disordersJournal: Research Square (preprint)In common: clinical / translational, 3 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 0 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:beaefdcc7210031f…
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.
