OSCR

Distinct sensory atypicalities bridge the gap between brain chemistry and motor dysfunction in autism.

Code ↔ Paper

4 matches 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.

2 blocks of code here have 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 4 matches
  1. [1] § Results › Relationship between sensory functioning scores and motor ability is generally group indifferent ↔ codes/Figure_2.Rmd, lines 386 to 481 · score 0.81 · static detection threshold, simultaneous amplitude discrimination, feedforward inhibition, single site adaptation, PANESS Overflow, Gaits Stations · block oscr:b:FD4BJ463YWF6P-5 · Report a mismatch
  2. [2] § Results › Sensory functioning scores are related to motor ability in both autism and TDC: evidence of path b ↔ codes/Figure_2.Rmd, lines 386 to 481 · score 0.76 · Static detection threshold, Simultaneous amplitude discrimination, feedforward inhibition, discrimination threshold, Gaits Stations, Manual Dexterity · block oscr:b:FD4BJ463YWF6P-5 · Report a mismatch
  3. [3] § Participants and methods › Participants ↔ codes/summary.Rmd, lines 741 to 799 · score 0.69 · Verbal Comprehension, full scale IQ, Perceptual Reasoning, ADOS, scores · block oscr:b:GCA308FVH3GFC-H · Report a mismatch
  4. [4] § Results ↔ codes/summary.Rmd, lines 741 to 799 · score 0.61 · Verbal Comprehension, full scale IQ, Perceptual Reasoning, scores · block oscr:b:GCA308FVH3GFC-H · 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

R Markdown · 491 lines · 16 KB · no license · 2 matches

  1. ---
  2. title: "Figure3"
  3. author: "Mingrun Shi"
  4. date: "2025-01-09"
  5. output:
  6. pdf_document: default
  7. html_document: default
  8. ---
  9. ## 1. Setup
  10. ```{r}
  11. # SETUP -------------------------------------------------------------------
  12. rm(list = ls()) #Clear everything in environment
  13. library(ggside)
  14. # _packages ---------------------------------------------------------------
  15. #create a function to read in and load packages
  16. load.packages <- function(pkg) {
  17. new.pkg <- pkg[!(pkg %in% installed.packages()[ , "Package"])]
  18. if (length(new.pkg)) {
  19. install.packages(new.pkg, dependencies = T)
  20. }
  21. sapply(pkg, require, character.only = T)
  22. }
  23. packages <- c(
  24. "rstatix",
  25. "tidyverse",
  26. "nlme",
  27. "ggpubr",
  28. "Hmisc",
  29. "plyr",
  30. "Rmisc",
  31. "retimes",
  32. "data.table",
  33. "lme4",
  34. "multcomp",
  35. "pastecs",
  36. "effects",
  37. "DataCombine",
  38. "gridExtra",
  39. "leaps",
  40. "ppcor",
  41. "ggm",
  42. "readxl",
  43. "emmeans",
  44. "eeptools",
  45. "psych",
  46. "weights",
  47. "here",
  48. "cowplot",
  49. "reghelper",
  50. "sjstats",
  51. "lubridate"
  52. )
  53. load.packages(packages) # load in the packages
  54. # _functions --------------------------------------------------------------
  55. #https://www.r-bloggers.com/2011/11/outersect-the-opposite-of-rs-intersect-function/
  56. #returns what is not in either
  57. outersect <- function(x, y) {
  58. sort(c(x[!x%in%y],
  59. y[!y%in%x]))
  60. }
  61. `%notin%` <- Negate(`%in%`)
  62. mid_date <- function(startdate, enddate) {
  63. stopifnot(class(startdate) == "Date" & class(enddate) == "Date")
  64. stopifnot(length(startdate) == length(enddate))
  65. idx <- enddate < startdate
  66. if (any(idx, na.rm = TRUE)) {
  67. enddate[idx] <- NULL
  68. startdate[idx] <- NULL
  69. cat(paste0("\nWARNING: NAs assigned to ", sum(idx, na.rm = TRUE),
  70. " inconsistent date pairs\n"))
  71. }
  72. res <- NULL
  73. if (length(startdate > 0)) {
  74. intobj <- lubridate::interval(startdate, enddate)
  75. res <- lubridate::as_date(lubridate::int_start(intobj) +
  76. ((lubridate::int_end(intobj) -
  77. lubridate::int_start(intobj)) / 2))
  78. }
  79. res
  80. }
  81. descriptives_table <- function(x, grouping_variable, list_of_variables){
  82. # x <- df
  83. # grouping_variable <- "group"
  84. # list_of_variables <- demographic_variables
  85. #establish the number of unique groups
  86. unique_groups <- unique(x[[grouping_variable]])
  87. #create two lists external to the for loops below
  88. list_of_descriptives <- list()
  89. list_of_summaries <- list()
  90. #outer for loop: loop through each of the demographic variables
  91. for(d in list_of_variables){
  92. #establish the variable class
  93. variable_class <- class(x[[d]])
  94. print(paste("Variable name:", d)) #print variable name to console
  95. print(paste("Variable type:", class(x[[d]]))) #print variable type to console
  96. #IF CHARACTER ----
  97. if(variable_class=="character"){
  98. variable_table <- table(x[[d]], x[["group"]])
  99. chisq_result <- chisq.test(variable_table)
  100. #inner for loop if character
  101. for(u in unique_groups){
  102. variable_table_df <- as.data.frame(variable_table)
  103. freqs_for_current_group <- variable_table_df[variable_table_df[["group"]]==u,]
  104. N <- paste(freqs_for_current_group$Freq, collapse=":")
  105. M <- "-"
  106. SD <- "-"
  107. list_of_summaries[[u]] <- cbind(N, M, SD)
  108. }
  109. summary <- as.data.frame(bind_cols(list_of_summaries))
  110. summary$p <- round(chisq_result$p.value, 6)
  111. }
  112. #IF NUMERIC OR INTEGER ----
  113. if(variable_class %in% c("numeric", "integer")){
  114. x[[d]] <- as.numeric(x[[d]]) #ensures the DV is numeric (some functions won't treat integer as numeric)
  115. formula <- as.formula(paste(d, "~", grouping_variable)) #establish the formula required for the t.tests
  116. #inner for loop if numeric (retrieve N, M and SD for current_variable "d" for each unique_group "u")
  117. for(u in unique_groups){
  118. current_group <- x[x[grouping_variable]== u,]
  119. N <- length(current_group[[d]][!is.na(current_group[[d]])])
  120. M <- round(mean(current_group[[d]], na.rm = TRUE),2)
  121. SD <- round(sd(current_group[[d]], na.rm = TRUE), 2)
  122. list_of_summaries[[u]] <- cbind(N, M, SD)
  123. }
  124. #combine the N, M and SD for each group into a single variable
  125. summary <- as.data.frame(bind_cols(list_of_summaries))
  126. #Unsure what this was for, but leaving it here and will annotate later
  127. if(TRUE %in% (as.list(is.na(summary)))){
  128. summary$p <- "-"
  129. } else {
  130. ttest_result <- t.test(formula, data = x)
  131. summary$p <- round(ttest_result$p.value, 3)
  132. }
  133. }
  134. #store the summaries from either for loop into the list_of_descriptives list created outside the major for loop
  135. list_of_descriptives[[d]] <- summary
  136. }
  137. table_of_descriptives <- rbind.fill(list_of_descriptives)
  138. table_of_descriptives <- as.data.frame(cbind("variables" = list_of_variables, table_of_descriptives))
  139. table_of_descriptives <- as.data.frame(as.matrix(table_of_descriptives))
  140. return(table_of_descriptives)
  141. }
  142. geom_flat_violin <-
  143. function(mapping = NULL,
  144. data = NULL,
  145. stat = "ydensity",
  146. position = "dodge",
  147. trim = TRUE,
  148. scale = "area",
  149. show.legend = NA,
  150. inherit.aes = TRUE,
  151. ...) {
  152. layer(
  153. data = data,
  154. mapping = mapping,
  155. stat = stat,
  156. geom = GeomFlatViolin,
  157. position = position,
  158. show.legend = show.legend,
  159. inherit.aes = inherit.aes,
  160. params = list(trim = trim,
  161. scale = scale,
  162. ...)
  163. )
  164. }
  165. GeomFlatViolin <-
  166. ggproto(
  167. "GeomFlatViolin",
  168. Geom,
  169. setup_data = function(data, params) {
  170. data$width <- data$width %||%
  171. params$width %||% (resolution(data$x, FALSE) * 0.9)
  172. # ymin, ymax, xmin, and xmax define the bounding rectangle for each group
  173. data %>%
  174. group_by(group) %>%
  175. mutate(
  176. ymin = min(y),
  177. ymax = max(y),
  178. xmin = x,
  179. xmax = x + width / 2
  180. )
  181. },
  182. draw_group = function(data, panel_scales, coord) {
  183. # Find the points for the line to go all the way around
  184. data <- transform(data,
  185. xminv = x,
  186. xmaxv = x + violinwidth * (xmax - x))
  187. # Make sure it's sorted properly to draw the outline
  188. newdata <-
  189. rbind(plyr::arrange(transform(data, x = xminv), y),
  190. plyr::arrange(transform(data, x = xmaxv),-y))
  191. # Close the polygon: set first and last point the same
  192. # Needed for coord_polar and such
  193. newdata <- rbind(newdata, newdata[1,])
  194. ggplot2:::ggname("geom_flat_violin",
  195. GeomPolygon$draw_panel(newdata, panel_scales, coord))
  196. },
  197. draw_key = draw_key_polygon,
  198. default_aes = aes(
  199. weight = 1,
  200. colour = "grey20",
  201. fill = "white",
  202. size = 0.5,
  203. alpha = NA,
  204. linetype = "solid"
  205. ),
  206. required_aes = c("x", "y")
  207. )
  208. extract_mediation_summary <- function (x) {
  209. clp <- 100 * x$conf.level
  210. isLinear.y <- ((class(x$model.y)[1] %in% c("lm", "rq")) ||
  211. (inherits(x$model.y, "glm") && x$model.y$family$family ==
  212. "gaussian" && x$model.y$family$link == "identity") ||
  213. (inherits(x$model.y, "survreg") && x$model.y$dist ==
  214. "gaussian"))
  215. printone <- !x$INT && isLinear.y
  216. if (printone) {
  217. smat <- c(x$d1, x$d1.ci, x$d1.p)
  218. smat <- rbind(smat, c(x$z0, x$z0.ci, x$z0.p))
  219. smat <- rbind(smat, c(x$tau.coef, x$tau.ci, x$tau.p))
  220. smat <- rbind(smat, c(x$n0, x$n0.ci, x$n0.p))
  221. rownames(smat) <- c("ACME", "ADE", "Total Effect", "Prop. Mediated")
  222. } else {
  223. smat <- c(x$d0, x$d0.ci, x$d0.p)
  224. smat <- rbind(smat, c(x$d1, x$d1.ci, x$d1.p))
  225. smat <- rbind(smat, c(x$z0, x$z0.ci, x$z0.p))
  226. smat <- rbind(smat, c(x$z1, x$z1.ci, x$z1.p))
  227. smat <- rbind(smat, c(x$tau.coef, x$tau.ci, x$tau.p))
  228. smat <- rbind(smat, c(x$n0, x$n0.ci, x$n0.p))
  229. smat <- rbind(smat, c(x$n1, x$n1.ci, x$n1.p))
  230. smat <- rbind(smat, c(x$d.avg, x$d.avg.ci, x$d.avg.p))
  231. smat <- rbind(smat, c(x$z.avg, x$z.avg.ci, x$z.avg.p))
  232. smat <- rbind(smat, c(x$n.avg, x$n.avg.ci, x$n.avg.p))
  233. rownames(smat) <- c("ACME (control)", "ACME (treated)",
  234. "ADE (control)", "ADE (treated)", "Total Effect",
  235. "Prop. Mediated (control)", "Prop. Mediated (treated)",
  236. "ACME (average)", "ADE (average)", "Prop. Mediated (average)")
  237. }
  238. colnames(smat) <- c("Estimate", paste(clp, "% CI Lower", sep = ""),
  239. paste(clp, "% CI Upper", sep = ""), "p-value")
  240. smat
  241. }
  242. ```
  243. ## 2. Themes
  244. ```{r}
  245. # THEMES ------------------------------------------------------------------
  246. group_colours <- c("#0072B2", "#f37735", "#D55E00", "#00BA38", "#F8766D")
  247. theme_MR = theme(
  248. text = element_text(family = "Helvetica", color = "black"),
  249. plot.tag = element_text(face = "bold"),
  250. plot.title = element_text(hjust = 0.5),
  251. # axis.title.x = element_text(size = 14, margin = unit(c(2, 0, 0, 0), "mm")),
  252. # axis.title.y = element_text(size = 14, margin = unit(c(0, 1, 0, 0), "mm")),
  253. # axis.text.x = element_text(size = 14),
  254. # axis.text = element_text(angle = 0, vjust = 0, color = "black"),
  255. #legend.title = element_text(size=16),
  256. #legend.text = element_text(size=16),
  257. legend.position = "bottom",
  258. #plot.title = element_text(lineheight=.8, face= "bold", size = 16),
  259. panel.border = element_blank(),
  260. panel.grid.minor = element_blank(),
  261. panel.grid.major = element_blank(),
  262. panel.background = element_blank(),
  263. axis.line = element_line(color = "black"),
  264. axis.ticks = element_line(colour = "black"))
  265. ```
  266. ## 3. Read Data and Filter Data
  267. ```{r}
  268. df <- read.csv("F:/codes/data/SMM.csv")
  269. #We need a list of the MABC variables
  270. MABC_variables <- c(
  271. "mABC_2_Total_Standard_Score",
  272. "mABC_2_Balance_Component_Standard_Score",
  273. "mABC_2_Manual_Dexterity_Component_Standard_Score",
  274. "mABC_2_Aiming_and_Catching_Component_Standard_Score"
  275. )
  276. PANESS_variables <- c(
  277. "Total_PANESS",
  278. "PANESS_Total_Timed",
  279. "PANESS_Total_Overflow",
  280. "PANESS_Total_Gaits_Stations"
  281. )
  282. #.. and tactile variables
  283. tactile_variables <- c(
  284. "SEQ.Seeking.Mean.Score",
  285. "SEQ.Hypo.Mean.Score",
  286. "SEQ.Hyper.Mean.Score",
  287. "threshold_SDT", #"threshold_DDT",
  288. "FFI", #detection tasks
  289. "threshold_SMAD", #"threshold_ADTssa",
  290. "SS_adaptation", #single-site adaptation
  291. "threshold_SMFD", "threshold_SQFD", "SMFD_SQFD"
  292. )
  293. #The comparisons control for gender and age, therefore we need to create residuals for the plots
  294. for(i in c(MABC_variables, PANESS_variables)){
  295. formula <- as.formula(paste0(i, "~ gender + age"))
  296. model <- lm(formula, data = df)
  297. residuals <- as.data.frame(model$residuals)
  298. residuals$name<- rownames(residuals)
  299. df$name <- rownames(df)
  300. df$temp <- NA
  301. for (n in residuals$name){
  302. df$temp[df$name == n] <- residuals$`model$residuals`[residuals$name == n]
  303. }
  304. names(df)[names(df) == 'temp'] <- paste0("residual_", i)
  305. }
  306. for (j in 1:106){
  307. if(df[j,]$Group == "Control"){
  308. df[j,]$Group <- "TDC"
  309. }
  310. if(df[j,]$Group == "ASD"){
  311. df[j,]$Group <- "Autism"
  312. }
  313. }
  314. df_a <- df[df$Group == "Autism",]
  315. df_t <- df[df$Group == "TDC",]
  316. ```
  317. ## 4. Including Plots
  318. ```{r}
  319. # Figure_3 --------------------------------------------------------
  320. pdf3 <- df[c(paste0("residual_", MABC_variables), tactile_variables, "Group")]
  321. pdf4 <- pdf3[pdf3$Group=="Autism",]
  322. pdf5 <- pdf3[pdf3$Group=="TDC",]
  323. figure_3a <- ggplot(data = pdf3, aes(x = threshold_SDT, y = residual_mABC_2_Total_Standard_Score, colour = Group)) +
  324. geom_point() +
  325. geom_smooth(method = "lm") +
  326. scale_colour_manual(values=group_colours) + #manually adjust the colors of the dots
  327. scale_fill_manual(values=group_colours) + #manually adjust the colors of the dots
  328. labs(tag = "A", y = "MABC-2-Total (residuals)", x = "Static Detection Threshold (μm)") +
  329. stat_cor(show.legend = FALSE)+
  330. annotate("text", x=8, y=15, label= " ",colour = "#00BA38") +
  331. annotate("text", x=8, y=12, label= "z = -1.72, p = 0.085",colour = "#00BA38") +
  332. geom_ysidedensity(aes(y = residual_mABC_2_Total_Standard_Score, color = Group, fill = Group, position = "stack", alpha = 0.4), data = pdf3) +
  333. scale_ysidex_continuous(guide = guide_axis(angle = 90), minor_breaks = NULL) +
  334. guides(alpha = 'none') + # Remove alpha legend
  335. theme_MR
  336. # theme(legend.position = "bottom")
  337. figure_3b <- ggplot(data = pdf3, aes(x = SS_adaptation, y = residual_mABC_2_Manual_Dexterity_Component_Standard_Score, colour = Group)) +
  338. geom_point() +
  339. geom_smooth(method = "lm") +
  340. scale_colour_manual(values=group_colours) + #manually adjust the colors of the dots
  341. scale_fill_manual(values=group_colours) + #manually adjust the colors of the dots
  342. labs(tag = "B", y = "MABC-2-Manual (residuals)", x = "Single-Site Adaptation (%)") +
  343. stat_cor(show.legend = FALSE)+
  344. annotate("text", x=304, y=15, label= " ",colour = "#00BA38") +
  345. annotate("text", x=304, y=11.55, label= "z = -1.93, p = 0.054",colour = "#00BA38") +
  346. geom_ysidedensity(aes(y = residual_mABC_2_Manual_Dexterity_Component_Standard_Score, color = Group, fill = Group, position = "stack", alpha = 0.4), data = pdf3) +
  347. scale_ysidex_continuous(guide = guide_axis(angle = 90), minor_breaks = NULL) +
  348. guides(alpha = 'none') + # Remove alpha legend
  349. theme_MR
  350. # theme(legend.position = "bottom")
  351. pdf3 <- df[c(paste0("residual_", PANESS_variables), tactile_variables, "Group")]
  352. pdf4 <- pdf3[pdf3$Group=="Autism",]
  353. pdf5 <- pdf3[pdf3$Group=="TDC",]
  354. figure_3c <- ggplot(data = pdf3, aes(x = FFI, y = residual_PANESS_Total_Overflow, colour = Group)) +
  355. geom_point() +
  356. geom_smooth(method = "lm") +
  357. scale_colour_manual(values=group_colours) + #manually adjust the colors of the dots
  358. scale_fill_manual(values=group_colours) + #manually adjust the colors of the dots
  359. labs(tag = "C", y = "PANESS-Overflow (residuals)", x = "Feedforward Inhibition Index (%)") +
  360. stat_cor(show.legend = FALSE)+
  361. annotate("text", x=-7, y=20, label= " ",colour = "#00BA38") +
  362. annotate("text", x=-7, y=15.3, label= "z = 3.12, p = 0.002",colour = "#00BA38") +
  363. geom_ysidedensity(aes(y = residual_PANESS_Total_Overflow, color = Group, fill = Group, position = "stack", alpha = 0.4), data = pdf3) +
  364. scale_ysidex_continuous(guide = guide_axis(angle = 90), minor_breaks = NULL) +
  365. guides(alpha = 'none') + # Remove alpha legend
  366. theme_MR
  367. # theme(legend.position = "bottom")
  368. figure_3d <- ggplot(data = pdf3, aes(x = threshold_SMAD, y = residual_PANESS_Total_Gaits_Stations, colour = Group)) +
  369. geom_point() +
  370. geom_smooth(method = "lm") +
  371. scale_colour_manual(values=group_colours) + #manually adjust the colors of the dots
  372. scale_fill_manual(values=group_colours) + #manually adjust the colors of the dots
  373. labs(tag = "D", y = "PANESS-Gaits_Stations (residuals)", x = "Simultaneous Amplitude Discrimination Thresholds (μm)") +
  374. stat_cor(show.legend = FALSE)+
  375. annotate("text", x=43.4, y=20, label= " ",colour = "#00BA38") +
  376. annotate("text", x=43.4, y=16, label= "z = -0.34, p = 0.732",colour = "#00BA38") +
  377. geom_ysidedensity(aes(y = residual_PANESS_Total_Gaits_Stations, color = Group, fill = Group, position = "stack", alpha = 0.4), data = pdf3) +
  378. scale_ysidex_continuous(guide = guide_axis(angle = 90), minor_breaks = NULL) +
  379. guides(alpha = 'none') + # Remove alpha legend
  380. theme_MR
  381. # theme(legend.position = "bottom")
  382. figure_3 <-
  383. ggarrange(
  384. figure_3a,
  385. figure_3b,
  386. figure_3c,
  387. figure_3d,
  388. ncol = 2,
  389. nrow = 2,
  390. common.legend = TRUE,
  391. legend = "bottom",
  392. align = "hv"
  393. )
  394. ggsave(
  395. plot = figure_3,
  396. filename = here("F:/codes/figures/Figure_3_revised.pdf"),
  397. width = 10,
  398. height = 10
  399. )
  400. ## We used Adobe illustrator to modify fonts, text, and for visualisation purposes but not to manipulate or affect the data presented within the figure
  401. ```
  402. ```{r}
  403. # Filter the data for rows with non-missing values in both variables
  404. valid_data <- df[!is.na(pdf3$SS_adaptation) & !is.na(pdf3$residual_mABC_2_Manual_Dexterity_Component_Standard_Score), ]
  405. # Count participants by group
  406. table(valid_data$Group)
  407. ```

Figure_2.Rmd, no license · at the source

Overview

Authors: Mingrun Shi1, Jason L He1, Helen Powell1, Oliver Lack1, Georg Oeltzschner2,3, Alyssa Deronda4, Deana Crocetti4, Ericka L Wodka5, Richard A Edden2,3, Jonathan O’Muircheartaigh1,6, Stewart H Mostofsky4,7,8, Nicolaas A J Puts1,6
  1. Department of Forensic and Neurodevelopmental Sciences, Institute of Psychiatry, Psychology, and Neuroscience, King’s College London, London, UK
  2. Russell H. Morgan Department of Radiology and Radiological Science, The Johns Hopkins University School of Medicine, Baltimore, MD US
  3. F. M. Kirby Research Center for Functional Brain Imaging, Kennedy Krieger Institute, Baltimore, MD US
  4. Center for Neurodevelopmental and Imaging Research, Kennedy Krieger Institute, Baltimore, MD US
  5. Center for Autism Science, Services and Innovation, Kennedy Krieger Institute, Baltimore, MD US
  6. MRC Centre for Neurodevelopmental Disorders, King’s College London, London, UK
  7. Department of Neurology, The Johns Hopkins University School of Medicine, Baltimore, MD US
  8. Department of Psychiatry and Behavioral Sciences, The Johns Hopkins University School of Medicine, Baltimore, MD US
Institutions: King's College London (United Kingdom); Kennedy Krieger Institute (United States); Johns Hopkins University (United States); Johns Hopkins Medicine (United States); MRC Centre for Neurodevelopmental Disorders (United Kingdom)
Journal: Translational psychiatry, volume 16, issue 1, article 320
Dates: received 13 March 2025; accepted 30 March 2026; published online 8 May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41398-026-04036-z · PMID 42103716 · PMCID PMC13324517 · OpenAlex W7160608858
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), human (organism), autism (population), systems (subfield)
Methods: Statistics
Keywords: Human behaviour, Molecular neuroscience
MeSH: Autistic Disorder*, Brain Chemistry*, Sensorimotor Cortex*, Thalamus*, Child, Female, gamma-Aminobutyric Acid, Glutamic Acid, Glutamine, Humans, Magnetic Resonance Spectroscopy, Male (* major topic)
Topic: Autism Spectrum Disorder Research (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: U.S. Department of Health & Human Services | NIH | National Institute of Mental Health (NIMH) (R21HD100869, R01MH106564, R01MH078160, P41EB031771, R00MH107719)
Citations: not cited yet (Europe PMC); 69 references in the paper

Abstract

Sensory and motor difficulties are common in autism. Altered excitation-inhibition (E-I) balance is a putative framework for understanding atypical sensory and motor function. We investigated whether sensory differences of autism mediate motor difficulties of autism via differences in E-I balance. 106 children were included in the study (Autism n = 44, Typical development children (TDC) n = 62, age 10.32 ± 1.49). E-I balance was assessed through magnetic resonance spectroscopy (MRS), quantifying Glutamate and Glutamine (Glx) and Gamma-Aminobutyric Acid (GABA) in primary sensorimotor cortex (SM1) and thalamus (Thal). Sensory function was evaluated using both objective vibrotactile perceptual sensitivity assessments and subjective parent ratings via the Sensory Experience Questionnaire (SEQ). Motor ability was assessed objectively through the Movement Assessment Battery for Children-second edition (MABC-2) and the Physical and Neurological Examination for Subtle Signs (PANESS). Our findings reveal that lower sensory reactivity and lower tactile thresholds are both predictive of better motor ability (Rsig range between 0.32 and 0.57) with higher sensory scores reflecting poorer sensory filtering predicting worse motor function (Rsig range −0.22 and −0.63). We identified significant associations between MRS-measured Glx and GABA+ levels and sensory reactivity (p < 0.001). Importantly, sensory reactivity sub-scores were found to fully mediate E-I balance to motor associations in domain-specific patterns: Hyper-reactivity mediated the impact of SM1 Glx levels, while hypo-reactivity mediated the impact of SM1 GABA levels. Additionally, sensory seeking mediated the impact of Thalamic GABA levels with all indirect paths ab p < 0.01. These results propose a model where regional metabolite-specific markers of E-I balance explain patterns of autism-associated sensory and motor difficulties, and where subsequently, distinct sensory phenotypes differentially mediate metabolite-motor associations (see Graphical Abstract for detail).

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 4 matches between paragraphs and lines of code.

OSF 5unmc

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: R (10)
Size: 23 files, 10 scripts
Software Heritage: not checked
Found in: “Data availability”
Holds: 10 notebooks
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: ggplot2 (10 files), tidyverse (10 files)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
10 files
At the source: osf.io/5unmc/overview

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;
  • 10 scripts, each with its path and the digest of its content;
  • 4 matches 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

The code supporting the findings of this study is publicly available on the Open Science Framework (OSF) at https://osf.io/5unmc/overview. The repository includes scripts for reproducing the figures and all associated output figures. Due to General Data Protection Regulation (GDPR) and data transfer agreements, the datasets analysed during the current study are not publicly available but can be requested from CNIR (Mostofsky) through standard project and data access procedures.

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, 12 authors, 2 keywords, 12 MeSH terms, 1 funder, 59 references.

Cite

This paper

Shi, M., He, J. L., Powell, H., Lack, O., Oeltzschner, G., Deronda, A., Crocetti, D., Wodka, E. L., Edden, R. A., O’Muircheartaigh, J., Mostofsky, S. H., & Puts, N. A. J. (2026). Distinct sensory atypicalities bridge the gap between brain chemistry and motor dysfunction in autism. Translational psychiatry, 16(1), 320. https://doi.org/10.1038/s41398-026-04036-z

BibTeX

@article{shi2026distinct,
author = {Shi, Mingrun and He, Jason L and Powell, Helen and Lack, Oliver and Oeltzschner, Georg and Deronda, Alyssa and Crocetti, Deana and Wodka, Ericka L and Edden, Richard A and O’Muircheartaigh, Jonathan and Mostofsky, Stewart H and Puts, Nicolaas A J},
title = {{Distinct sensory atypicalities bridge the gap between brain chemistry and motor dysfunction in autism}},
journal = {Translational psychiatry},
year = {2026},
month = may,
volume = {16},
number = {1},
pages = {320},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/s41398-026-04036-z},
url = {https://doi.org/10.1038/s41398-026-04036-z},
pmid = {42103716},
pmcid = {PMC13324517}
}

RIS

TY - JOUR
AU - Shi, Mingrun
AU - He, Jason L
AU - Powell, Helen
AU - Lack, Oliver
AU - Oeltzschner, Georg
AU - Deronda, Alyssa
AU - Crocetti, Deana
AU - Wodka, Ericka L
AU - Edden, Richard A
AU - O’Muircheartaigh, Jonathan
AU - Mostofsky, Stewart H
AU - Puts, Nicolaas A J
TI - Distinct sensory atypicalities bridge the gap between brain chemistry and motor dysfunction in autism
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/05/08
VL - 16
IS - 1
SP - 320
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/s41398-026-04036-z
UR - https://doi.org/10.1038/s41398-026-04036-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41398-026-04036-z",
"type": "article-journal",
"title": "Distinct sensory atypicalities bridge the gap between brain chemistry and motor dysfunction in autism",
"container-title": "Translational psychiatry",
"author": [
{
"family": "Shi",
"given": "Mingrun"
},
{
"family": "He",
"given": "Jason L"
},
{
"family": "Powell",
"given": "Helen"
},
{
"family": "Lack",
"given": "Oliver"
},
{
"family": "Oeltzschner",
"given": "Georg"
},
{
"family": "Deronda",
"given": "Alyssa"
},
{
"family": "Crocetti",
"given": "Deana"
},
{
"family": "Wodka",
"given": "Ericka L"
},
{
"family": "Edden",
"given": "Richard A"
},
{
"family": "O’Muircheartaigh",
"given": "Jonathan"
},
{
"family": "Mostofsky",
"given": "Stewart H"
},
{
"family": "Puts",
"given": "Nicolaas A J"
}
],
"container-title-short": "Transl Psychiatry",
"volume": "16",
"issue": "1",
"page": "320",
"DOI": "10.1038/s41398-026-04036-z",
"PMID": "42103716",
"PMCID": "PMC13324517",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41398-026-04036-z",
"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.64898/2026.07.14.26358047 [code]
From Genes to Neurochemistry: Excitation and Inhibition Mechanisms of Sensory Differences in Autism
Journal: medRxiv (preprint)
In common: ggplot2, tidyverse, autism, 7 references, author Nicolaas A. Puts
[2] doi:10.1038/s41467-023-44050-z [code]
Neonatal brain dynamic functional connectivity in term and preterm infants and its association with early childhood neurodevelopment.
Journal: Nature communications
In common: ggplot2, tidyverse, autism, 2 references, author Jonathan O’Muircheartaigh
[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 biomedicine
In common: structural MRI / diffusion, 5 references
[4] doi:10.1038/s41398-025-03791-9 [code]
Cortical markers of excitation/inhibition balance are associated with sensory responsivity from infancy in longitudinal cohorts enriched for autism and ADHD.
Journal: Translational psychiatry
In common: autism, 4 references
[5] doi:10.1002/advs.202519479 [code]
Diminished Signal-to-Noise Ratio Disrupts Somatosensory Population Encoding and Drives Tactile Hyposensitivity in the Fmr1&lt;sup&gt;-/y&lt;/sup&gt; Autism Model.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: autism, 4 references
[6] doi:10.1002/nbm.4702 [code]
Comparison of seven modelling algorithms for γ-aminobutyric acid-edited proton magnetic resonance spectroscopy.
Journal: NMR in biomedicine
In common: structural MRI / diffusion, 1 reference, author Georg Oeltzschner
[7] doi:10.1186/s11689-026-09685-1 [code]
Beta power as a neural correlate of sensory features in autistic individuals.
Journal: Journal of neurodevelopmental disorders
In common: autism, 4 references
[8] doi:10.1093/braincomms/fcag318 [code]
Antenatal maternal anaemia and infant brain structure: high-field (3 T) and ultra-low-field (64 mT) MRI findings from South Africa.
Journal: Brain communications
In common: ggplot2, tidyverse, structural MRI / diffusion, author Jonathan O’Muircheartaigh
[9] doi:10.1073/pnas.2416423122 [code]
Cortical scaling of the neonatal brain in typical and altered development.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: ggplot2, tidyverse, structural MRI / diffusion, author Jonathan O’Muircheartaigh
[10] doi:10.1038/s41467-025-61927-3 [code]
Transcriptomic decoding of surface-based imaging phenotypes and its application to pharmacotranscriptomics.
Journal: Nature communications
In common: ggplot2, author Nicolaas A. Puts

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z.svg)](https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z"><img src="https://openscicode.org/badge/doi/10.1038/s41398-026-04036-z.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

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)

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.