OSCR

Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 Markdown · 635 lines · 24 KB · CC0-1.0

  1. ---
  2. title: "SSRI – Differential Metabolomics Analysis"
  3. author: "Abishek Arora"
  4. date: "10/06/2025"
  5. ---
  6. # Differential Metabolomics Analysis
  7. Mass spectrometry was performed on samples for cell lines exposed to fluoxetine hydrochloride (FH), citalopram hydrobromide (CH), sertraline hydrochloride (SH) and paroxetine hydrochloride (PH) for 5 and 28 days. The cell lines that were a part of this study were CTRL9II, ASD12BI, ASD17AII and AF22. Metabolite concentrations are reported in micromolar (µM). Differential metabolomics analysis was performed using a mixed linear model as stated in the sections that follow. For more information about the methods applied, please refer to the paper.
  8. ## Fluoxetine hydrochloride (FH)
  9. ### Day 5
  10. Comparisons were made based on treatment groups of fluoxetine hydrochloride exposure, namely "Control" and "FH" at Day 5, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  11. ```{r}
  12. # Load package libraries and import the dataset to be analysed.
  13. rm(list = ls())
  14. library("tidyverse")
  15. library("nlme")
  16. FH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  17. FH_metabolome <- FH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "FH"))
  18. FH_metabolome$exp <- factor(FH_metabolome$exp, levels = c("Control", "FH"))
  19. list_metab <- split(FH_metabolome, FH_metabolome$metabo)
  20. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  21. # Load function for preparing dataframe of the model outputs:
  22. merge.all <- function(x, ..., by = "row.names") {
  23. L <- list(...)
  24. for (i in seq_along(L)) {
  25. x <- merge(x, L[[i]], by = by)
  26. rownames(x) <- x$Row.names
  27. x$Row.names <- NULL
  28. }
  29. return(x)
  30. }
  31. ```
  32. ```{r}
  33. # Define the linear model and loop through the summary results.
  34. results <- vector(mode = "list", length = 189)
  35. for (i in 1:length(list_metab)) {
  36. tryCatch({
  37. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  38. results[[i]] <- summary(model)
  39. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  40. }
  41. # Aggregate the p values from the summary results for the linear model.
  42. pvalues <- vector(mode = "list", length = 189)
  43. for (i in 1:length(results)) {
  44. df <- as.data.frame(results[[i]][["tTable"]])
  45. pvalues[[i]] <- df[2,5]
  46. }
  47. names(pvalues) <- names(list_metab)
  48. summary_res <- unlist(pvalues)
  49. summary_res <- as.data.frame(summary_res, add.rownames = True)
  50. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  51. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  52. # Aggregate the estimates from the summary results for the linear model.
  53. ests <- vector(mode = "list", length = 189)
  54. for (i in 1:length(results)) {
  55. df <- as.data.frame(results[[i]][["tTable"]])
  56. ests[[i]] <- df[2,1]
  57. }
  58. names(ests) <- names(list_metab)
  59. est_res <- unlist(ests)
  60. est_res <- as.data.frame(est_res, add.rownames = True)
  61. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  62. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  63. est_res[,1] <- NULL
  64. # Perform correction for multiple comparisons using the FDR method.
  65. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  66. names(p.adj) <- names(list_metab)
  67. p.adj.df <- as.data.frame(p.adj)
  68. # Combine all dataframes for final result.
  69. final_res <- merge.all(summary_results, est_res, p.adj.df)
  70. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  71. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  72. ```
  73. ### Day 28
  74. Comparisons were made based on treatment groups of fluoxetine hydrochloride exposure, namely "Control" and "FH" at Day 28, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  75. ```{r}
  76. # Load package libraries and import the dataset to be analysed.
  77. rm(list = ls())
  78. library("tidyverse")
  79. FH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  80. FH_metabolome <- FH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "FH"))
  81. FH_metabolome$exp <- factor(FH_metabolome$exp, levels = c("Control", "FH"))
  82. list_metab <- split(FH_metabolome, FH_metabolome$metabo)
  83. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  84. # Load function for preparing dataframe of the model outputs:
  85. merge.all <- function(x, ..., by = "row.names") {
  86. L <- list(...)
  87. for (i in seq_along(L)) {
  88. x <- merge(x, L[[i]], by = by)
  89. rownames(x) <- x$Row.names
  90. x$Row.names <- NULL
  91. }
  92. return(x)
  93. }
  94. ```
  95. ```{r}
  96. # Define the linear model and loop through the summary results.
  97. results <- vector(mode = "list", length = 189)
  98. for (i in 1:length(list_metab)) {
  99. tryCatch({
  100. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  101. results[[i]] <- summary(model)
  102. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  103. }
  104. # Aggregate the p values from the summary results for the linear model.
  105. pvalues <- vector(mode = "list", length = 189)
  106. for (i in 1:length(results)) {
  107. df <- as.data.frame(results[[i]][["tTable"]])
  108. pvalues[[i]] <- df[2,5]
  109. }
  110. names(pvalues) <- names(list_metab)
  111. summary_res <- unlist(pvalues)
  112. summary_res <- as.data.frame(summary_res, add.rownames = True)
  113. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  114. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  115. # Aggregate the estimates from the summary results for the linear model.
  116. ests <- vector(mode = "list", length = 189)
  117. for (i in 1:length(results)) {
  118. df <- as.data.frame(results[[i]][["tTable"]])
  119. ests[[i]] <- df[2,1]
  120. }
  121. names(ests) <- names(list_metab)
  122. est_res <- unlist(ests)
  123. est_res <- as.data.frame(est_res, add.rownames = True)
  124. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  125. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  126. est_res[,1] <- NULL
  127. # Perform correction for multiple comparisons using the FDR method.
  128. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  129. names(p.adj) <- names(list_metab)
  130. p.adj.df <- as.data.frame(p.adj)
  131. # Combine all dataframes for final result.
  132. final_res <- merge.all(summary_results, est_res, p.adj.df)
  133. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  134. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  135. ```
  136. ## Citalopram
  137. ### Day 5
  138. Comparisons were made based on treatment groups of citalopram hydrobromide exposure, namely "Control" and "CH" at day 5, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  139. ```{r}
  140. # Load package libraries and import the dataset to be analysed.
  141. rm(list = ls())
  142. library("tidyverse")
  143. CH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  144. CH_metabolome <- CH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "CH"))
  145. CH_metabolome$exp <- factor(CH_metabolome$exp, levels = c("Control", "CH"))
  146. list_metab <- split(CH_metabolome, CH_metabolome$metabo)
  147. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  148. # Load function for preparing dataframe of the model outputs:
  149. merge.all <- function(x, ..., by = "row.names") {
  150. L <- list(...)
  151. for (i in seq_along(L)) {
  152. x <- merge(x, L[[i]], by = by)
  153. rownames(x) <- x$Row.names
  154. x$Row.names <- NULL
  155. }
  156. return(x)
  157. }
  158. ```
  159. ```{r}
  160. # Define the linear model and loop through the summary results.
  161. results <- vector(mode = "list", length = 189)
  162. for (i in 1:length(list_metab)) {
  163. tryCatch({
  164. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  165. results[[i]] <- summary(model)
  166. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  167. }
  168. # Aggregate the p values from the summary results for the linear model.
  169. pvalues <- vector(mode = "list", length = 189)
  170. for (i in 1:length(results)) {
  171. df <- as.data.frame(results[[i]][["tTable"]])
  172. pvalues[[i]] <- df[2,5]
  173. }
  174. names(pvalues) <- names(list_metab)
  175. summary_res <- unlist(pvalues)
  176. summary_res <- as.data.frame(summary_res, add.rownames = True)
  177. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  178. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  179. # Aggregate the estimates from the summary results for the linear model.
  180. ests <- vector(mode = "list", length = 189)
  181. for (i in 1:length(results)) {
  182. df <- as.data.frame(results[[i]][["tTable"]])
  183. ests[[i]] <- df[2,1]
  184. }
  185. names(ests) <- names(list_metab)
  186. est_res <- unlist(ests)
  187. est_res <- as.data.frame(est_res, add.rownames = True)
  188. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  189. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  190. est_res[,1] <- NULL
  191. # Perform correction for multiple comparisons using the FDR method.
  192. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  193. names(p.adj) <- names(list_metab)
  194. p.adj.df <- as.data.frame(p.adj)
  195. # Combine all dataframes for final result.
  196. final_res <- merge.all(summary_results, est_res, p.adj.df)
  197. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  198. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  199. ```
  200. ### Day 28
  201. Comparisons were made based on treatment groups of citalopram hydrobromide exposure, namely "Control" and "CH" at day 28, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  202. ```{r}
  203. # Load package libraries and import the dataset to be analysed.
  204. rm(list = ls())
  205. library("tidyverse")
  206. CH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  207. CH_metabolome <- CH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "CH"))
  208. CH_metabolome$exp <- factor(CH_metabolome$exp, levels = c("Control", "CH"))
  209. list_metab <- split(CH_metabolome, CH_metabolome$metabo)
  210. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  211. # Load function for preparing dataframe of the model outputs:
  212. merge.all <- function(x, ..., by = "row.names") {
  213. L <- list(...)
  214. for (i in seq_along(L)) {
  215. x <- merge(x, L[[i]], by = by)
  216. rownames(x) <- x$Row.names
  217. x$Row.names <- NULL
  218. }
  219. return(x)
  220. }
  221. ```
  222. ```{r}
  223. # Define the linear model and loop through the summary results.
  224. results <- vector(mode = "list", length = 189)
  225. for (i in 1:length(list_metab)) {
  226. tryCatch({
  227. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  228. results[[i]] <- summary(model)
  229. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  230. }
  231. # Aggregate the p values from the summary results for the linear model.
  232. pvalues <- vector(mode = "list", length = 189)
  233. for (i in 1:length(results)) {
  234. df <- as.data.frame(results[[i]][["tTable"]])
  235. pvalues[[i]] <- df[2,5]
  236. }
  237. names(pvalues) <- names(list_metab)
  238. summary_res <- unlist(pvalues)
  239. summary_res <- as.data.frame(summary_res, add.rownames = True)
  240. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  241. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  242. # Aggregate the estimates from the summary results for the linear model.
  243. ests <- vector(mode = "list", length = 189)
  244. for (i in 1:length(results)) {
  245. df <- as.data.frame(results[[i]][["tTable"]])
  246. ests[[i]] <- df[2,1]
  247. }
  248. names(ests) <- names(list_metab)
  249. est_res <- unlist(ests)
  250. est_res <- as.data.frame(est_res, add.rownames = True)
  251. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  252. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  253. est_res[,1] <- NULL
  254. # Perform correction for multiple comparisons using the FDR method.
  255. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  256. names(p.adj) <- names(list_metab)
  257. p.adj.df <- as.data.frame(p.adj)
  258. # Combine all dataframes for final result.
  259. final_res <- merge.all(summary_results, est_res, p.adj.df)
  260. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  261. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  262. ```
  263. ## Sertraline
  264. ### Day 5
  265. Comparisons were made based on treatment groups of sertraline hydrochloride exposure, namely "Control" and "SH" at day 5, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  266. ```{r}
  267. # Load package libraries and import the dataset to be analysed.
  268. rm(list = ls())
  269. library("tidyverse")
  270. SH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  271. SH_metabolome <- SH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "SH"))
  272. SH_metabolome$exp <- factor(SH_metabolome$exp, levels = c("Control", "SH"))
  273. list_metab <- split(SH_metabolome, SH_metabolome$metabo)
  274. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  275. # Load function for preparing dataframe of the model outputs:
  276. merge.all <- function(x, ..., by = "row.names") {
  277. L <- list(...)
  278. for (i in seq_along(L)) {
  279. x <- merge(x, L[[i]], by = by)
  280. rownames(x) <- x$Row.names
  281. x$Row.names <- NULL
  282. }
  283. return(x)
  284. }
  285. ```
  286. ```{r}
  287. # Define the linear model and loop through the summary results.
  288. results <- vector(mode = "list", length = 189)
  289. for (i in 1:length(list_metab)) {
  290. tryCatch({
  291. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  292. results[[i]] <- summary(model)
  293. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  294. }
  295. # Aggregate the p values from the summary results for the linear model.
  296. pvalues <- vector(mode = "list", length = 189)
  297. for (i in 1:length(results)) {
  298. df <- as.data.frame(results[[i]][["tTable"]])
  299. pvalues[[i]] <- df[2,5]
  300. }
  301. names(pvalues) <- names(list_metab)
  302. summary_res <- unlist(pvalues)
  303. summary_res <- as.data.frame(summary_res, add.rownames = True)
  304. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  305. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  306. # Aggregate the estimates from the summary results for the linear model.
  307. ests <- vector(mode = "list", length = 189)
  308. for (i in 1:length(results)) {
  309. df <- as.data.frame(results[[i]][["tTable"]])
  310. ests[[i]] <- df[2,1]
  311. }
  312. names(ests) <- names(list_metab)
  313. est_res <- unlist(ests)
  314. est_res <- as.data.frame(est_res, add.rownames = True)
  315. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  316. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  317. est_res[,1] <- NULL
  318. # Perform correction for multiple comparisons using the FDR method.
  319. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  320. names(p.adj) <- names(list_metab)
  321. p.adj.df <- as.data.frame(p.adj)
  322. # Combine all dataframes for final result.
  323. final_res <- merge.all(summary_results, est_res, p.adj.df)
  324. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  325. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  326. ```
  327. ### Day 28
  328. Comparisons were made based on treatment groups of sertraline hydrochloride exposure, namely "Control" and "SH" at day 28, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  329. ```{r}
  330. # Load package libraries and import the dataset to be analysed.
  331. rm(list = ls())
  332. library("tidyverse")
  333. SH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  334. SH_metabolome <- SH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "SH"))
  335. SH_metabolome$exp <- factor(SH_metabolome$exp, levels = c("Control", "SH"))
  336. list_metab <- split(SH_metabolome, SH_metabolome$metabo)
  337. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  338. # Load function for preparing dataframe of the model outputs:
  339. merge.all <- function(x, ..., by = "row.names") {
  340. L <- list(...)
  341. for (i in seq_along(L)) {
  342. x <- merge(x, L[[i]], by = by)
  343. rownames(x) <- x$Row.names
  344. x$Row.names <- NULL
  345. }
  346. return(x)
  347. }
  348. ```
  349. ```{r}
  350. # Define the linear model and loop through the summary results.
  351. results <- vector(mode = "list", length = 189)
  352. for (i in 1:length(list_metab)) {
  353. tryCatch({
  354. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  355. results[[i]] <- summary(model)
  356. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  357. }
  358. # Aggregate the p values from the summary results for the linear model.
  359. pvalues <- vector(mode = "list", length = 189)
  360. for (i in 1:length(results)) {
  361. df <- as.data.frame(results[[i]][["tTable"]])
  362. pvalues[[i]] <- df[2,5]
  363. }
  364. names(pvalues) <- names(list_metab)
  365. summary_res <- unlist(pvalues)
  366. summary_res <- as.data.frame(summary_res, add.rownames = True)
  367. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  368. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  369. # Aggregate the estimates from the summary results for the linear model.
  370. ests <- vector(mode = "list", length = 189)
  371. for (i in 1:length(results)) {
  372. df <- as.data.frame(results[[i]][["tTable"]])
  373. ests[[i]] <- df[2,1]
  374. }
  375. names(ests) <- names(list_metab)
  376. est_res <- unlist(ests)
  377. est_res <- as.data.frame(est_res, add.rownames = True)
  378. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  379. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  380. est_res[,1] <- NULL
  381. # Perform correction for multiple comparisons using the FDR method.
  382. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  383. names(p.adj) <- names(list_metab)
  384. p.adj.df <- as.data.frame(p.adj)
  385. # Combine all dataframes for final result.
  386. final_res <- merge.all(summary_results, est_res, p.adj.df)
  387. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  388. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  389. ```
  390. ## Paroxetine
  391. ### Day 5
  392. Comparisons were made based on treatment groups of paroxetine hydrochloride exposure, namely "Control" and "PH" at day 5, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  393. ```{r}
  394. # Load package libraries and import the dataset to be analysed.
  395. rm(list = ls())
  396. library("tidyverse")
  397. PH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  398. PH_metabolome <- PH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "PH"))
  399. PH_metabolome$exp <- factor(PH_metabolome$exp, levels = c("Control", "PH"))
  400. list_metab <- split(PH_metabolome, PH_metabolome$metabo)
  401. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  402. # Load function for preparing dataframe of the model outputs:
  403. merge.all <- function(x, ..., by = "row.names") {
  404. L <- list(...)
  405. for (i in seq_along(L)) {
  406. x <- merge(x, L[[i]], by = by)
  407. rownames(x) <- x$Row.names
  408. x$Row.names <- NULL
  409. }
  410. return(x)
  411. }
  412. ```
  413. ```{r}
  414. # Define the linear model and loop through the summary results.
  415. results <- vector(mode = "list", length = 189)
  416. for (i in 1:length(list_metab)) {
  417. tryCatch({
  418. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  419. results[[i]] <- summary(model)
  420. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  421. }
  422. # Aggregate the p values from the summary results for the linear model.
  423. pvalues <- vector(mode = "list", length = 189)
  424. for (i in 1:length(results)) {
  425. df <- as.data.frame(results[[i]][["tTable"]])
  426. pvalues[[i]] <- df[2,5]
  427. }
  428. names(pvalues) <- names(list_metab)
  429. summary_res <- unlist(pvalues)
  430. summary_res <- as.data.frame(summary_res, add.rownames = True)
  431. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  432. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  433. # Aggregate the estimates from the summary results for the linear model.
  434. ests <- vector(mode = "list", length = 189)
  435. for (i in 1:length(results)) {
  436. df <- as.data.frame(results[[i]][["tTable"]])
  437. ests[[i]] <- df[2,1]
  438. }
  439. names(ests) <- names(list_metab)
  440. est_res <- unlist(ests)
  441. est_res <- as.data.frame(est_res, add.rownames = True)
  442. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  443. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  444. est_res[,1] <- NULL
  445. # Perform correction for multiple comparisons using the FDR method.
  446. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  447. names(p.adj) <- names(list_metab)
  448. p.adj.df <- as.data.frame(p.adj)
  449. # Combine all dataframes for final result.
  450. final_res <- merge.all(summary_results, est_res, p.adj.df)
  451. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  452. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  453. ```
  454. ### Day 28
  455. Comparisons were made based on treatment groups of paroxetine hydrochloride exposure, namely "Control" and "PH" at day 28, using a mixed linear model followed by correction for multiple comparisons using the FDR method
  456. ```{r}
  457. # Load package libraries and import the dataset to be analysed.
  458. rm(list = ls())
  459. library("tidyverse")
  460. PH_metabolome <- read.csv("add file path to metabo_conc.csv here")
  461. PH_metabolome <- PH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "PH"))
  462. PH_metabolome$exp <- factor(PH_metabolome$exp, levels = c("Control", "PH"))
  463. list_metab <- split(PH_metabolome, PH_metabolome$metabo)
  464. results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
  465. # Load function for preparing dataframe of the model outputs:
  466. merge.all <- function(x, ..., by = "row.names") {
  467. L <- list(...)
  468. for (i in seq_along(L)) {
  469. x <- merge(x, L[[i]], by = by)
  470. rownames(x) <- x$Row.names
  471. x$Row.names <- NULL
  472. }
  473. return(x)
  474. }
  475. ```
  476. ```{r}
  477. # Define the linear model and loop through the summary results.
  478. results <- vector(mode = "list", length = 189)
  479. for (i in 1:length(list_metab)) {
  480. tryCatch({
  481. model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
  482. results[[i]] <- summary(model)
  483. }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
  484. }
  485. # Aggregate the p values from the summary results for the linear model.
  486. pvalues <- vector(mode = "list", length = 189)
  487. for (i in 1:length(results)) {
  488. df <- as.data.frame(results[[i]][["tTable"]])
  489. pvalues[[i]] <- df[2,5]
  490. }
  491. names(pvalues) <- names(list_metab)
  492. summary_res <- unlist(pvalues)
  493. summary_res <- as.data.frame(summary_res, add.rownames = True)
  494. summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
  495. summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  496. # Aggregate the estimates from the summary results for the linear model.
  497. ests <- vector(mode = "list", length = 189)
  498. for (i in 1:length(results)) {
  499. df <- as.data.frame(results[[i]][["tTable"]])
  500. ests[[i]] <- df[2,1]
  501. }
  502. names(ests) <- names(list_metab)
  503. est_res <- unlist(ests)
  504. est_res <- as.data.frame(est_res, add.rownames = True)
  505. est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
  506. est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
  507. est_res[,1] <- NULL
  508. # Perform correction for multiple comparisons using the FDR method.
  509. p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
  510. names(p.adj) <- names(list_metab)
  511. p.adj.df <- as.data.frame(p.adj)
  512. # Combine all dataframes for final result.
  513. final_res <- merge.all(summary_results, est_res, p.adj.df)
  514. colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
  515. write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
  516. ```

SSRI_Differential_Metabolomics.Rmd at commit cf3022b, under CC0-1.0 · at the source

Overview

Authors: Abishek Arora1,2,3, Kristina Vacy4,5, Cátia Marques6, Mihai-Ovidiu Degeratu1,2, Francesca Mastropasqua1,2, Jenny Humphrey1,2, Xuan Ye1,2, Marika Oksanen1,2, Peter Vuillermin4,7, Anne-Louise Ponsonby4,7, Ingela Lanekoff6,8, Kristiina Tammimies1,2, the Barwon Infant Study Investigator Group
  1. Center of Neurodevelopmental Disorders (KIND), Centre for Psychiatry Research, Department of Women's and Children's Health, Karolinska Institutet, and Child and Adolescent Psychiatry, Stockholm Health Care Services, Region Stockholm, Stockholm, Sweden
  2. Astrid Lindgren Children’s Hospital, Karolinska University Hospital, Region Stockholm, Stockholm, Sweden
  3. Science for Life Laboratory, Karolinska Institutet, Stockholm, Sweden
  4. Florey Institute of Neuroscience and Mental Health, University of Melbourne, Victoria, Australia
  5. Melbourne School of Population and Global Health, University of Melbourne, Victoria, Australia
  6. Department of Chemistry for Life Sciences, Uppsala University, Uppsala, Sweden
  7. Murdoch Children’s Research Institute, Royal Children's Hospital, and Department of Paediatrics, University of Melbourne, Victoria, Australia
  8. Center of Excellence for the Chemical Mechanisms of Life, Uppsala University, Uppsala, Sweden
Journal: EBioMedicine, volume 128, article 106291
Dates: received 30 August 2025; accepted 24 April 2026; published online 18 May 2026; in print June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.ebiom.2026.106291 · PMID 42150307 · PMCID PMC13213235 · OpenAlex W7161595015
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: genetics / omics (modality), human (organism), other condition (population)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning
Keywords: Selective serotonin reuptake inhibitors, Induced pluripotent stem cells, Clinical cohort, Neurodevelopmental disorders, Metabolomics, Cellular assays
MeSH: Cell Differentiation*, Lysophosphatidylcholines*, Metabolome*, Metabolomics*, Neurodevelopmental Disorders*, Neurons*, Selective Serotonin Reuptake Inhibitors*, Biomarkers, Cell Line, Female, Humans, Induced Pluripotent Stem Cells, Mitochondria, Pregnancy, Reactive Oxygen Species (* major topic)
Topic: Tryptophan and brain disorders (Biological Psychiatry, Neuroscience), according to OpenAlex
Funding: European Commission; Swedish Research Council; HKH Crown Princess Lovisa Child Health Care Association; the Swedish Foundation for International Cooperation in Research and Higher Education; Karolinska Institutet; Swedish Foundation for Strategic Research; Brain Foundation; European Research Council
Citations: not cited yet (Europe PMC); 95 references in the paper

Abstract

Background: Selective serotonin reuptake inhibitors (SSRIs) are often prescribed during pregnancy. Epidemiological studies examining in-utero SSRI exposure and neurodevelopmental outcomes such as autism and ADHD have produced mixed results, in part due to challenges in accounting for underlying maternal mental health conditions and other confounding factors. The molecular pathways through which SSRIs may affect early neurodevelopment remain poorly understood.

Methods: We exposed neuroepithelial stem cells derived from four human induced pluripotent stem cell (iPSC) lines to fluoxetine, citalopram, sertraline, and paroxetine. We then assessed cellular viability, reactive oxygen species (ROS) levels, mitochondrial function using adenosine triphosphate (ATP) assays, and performed high-throughput metabolomics at two timepoints: proliferation and neural differentiation stages. The key metabolic findings were validated in the in-vitro model and in a complementary population-based cohort, the Barwon Infant Study, consisting of 1074 mother-child pairs with analysed cord-blood metabolomes.

Findings: Sertraline and paroxetine significantly decreased ROS and ATP levels in-vitro, indicating mitochondrial alteration. Metabolomic profiling revealed consistent elevation of three lysophosphatidylcholines (LPCs 16:0, 18:0, 18:1) in cells exposed to all SSRIs except citalopram. We further observed elevated LPC levels in the cord blood of infants prenatally exposed to SSRIs compared to those who were not (LPC 16:0 sn1: β = 0.173, 95% CI = 0.011–0.334, p = 0.037; LPC 16:0 sn2: β = 0.175, 95% CI = 0.007–0.343, p = 0.042 and LPC 18:0 sn2 β = 0.174, 95% CI = 0.018–0.330, p = 0.029), with a dose-dependent correlation to autism (LPC 16:0 sn2: overall p = 0.01) and ADHD-related symptoms (LPC 16:0 sn1: overall p = 0.007; LPC 16:0 sn2: overall p = 0.002) at age two.

Interpretation: These findings provide insights into SSRI-induced molecular changes in human iPSC derived neural cell cultures and highlight candidate metabolites that were validated in a clinical cohort. This may warrant their further investigation as indicators of SSRI exposure and emphasise the need for exploring prenatal SSRI exposure effects and neurodevelopmental outcomes in a wider context of other more well-established liability factors, including genetic background.

Funding: Vetenskapsrådet, Swedish Foundation for Strategic Research, Hjärnfonden, H.K.H. Kronprinsessan Lovisas förening för barnasjukvård, StratNeuro, Swedish Foundation for International Cooperation in Research and Higher Education, Karolinska Institutet and the European Research Council.

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

Repository

Its files are read in the Code ↔ Paper reader above.

Tammimies-Lab/SSRI-Metabolomics

License: CC0-1.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: cf3022bd4a1c66348e9bac9417f16704d850ed92, 14 July 2026
Languages: R (1)
Size: 5 files, 1 script
Software Heritage: not archived
Found in: “Data sharing statement”
Holds: README, license file, 1 notebook
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: nlme (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
3 files

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;
  • 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 sharing statement

The data and code required for differential metabolomics analysis are available on GitHub (https://github.com/Tammimies-Lab/SSRI-Metabolomics). The raw data from the mass spectrometry-based metabolomics is available on MetaboLights (MTBLS12645) or available upon request from the corresponding author (). The data from the Barwon Infant Study are available under restricted access to protect participant confidentiality. Researchers may request access by contacting the BIS Steering Committee via Anne-Louise Ponsonby at the Florey Institute of Neuroscience and Mental Health (). Requests are considered based on scientific and ethical considerations, and approved applications require a collaborative research agreement. Deidentified data can be shared in either Stata or CSV file formats. Further details about the cohort, data access process, and project overview are available at: www.barwoninfantstudy.org.au.

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, pages, dates, 13 authors, 6 keywords, 15 MeSH terms, 8 funders, 94 references.

Cite

This paper

Arora, A., Vacy, K., Marques, C., Degeratu, M.-O., Mastropasqua, F., Humphrey, J., Ye, X., Oksanen, M., Vuillermin, P., Ponsonby, A.-L., Lanekoff, I., Tammimies, K., & the Barwon Infant Study Investigator Group. (2026). Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders. EBioMedicine, 128, 106291. https://doi.org/10.1016/j.ebiom.2026.106291

BibTeX

@article{arora2026metabolomic,
author = {Arora, Abishek and Vacy, Kristina and Marques, Cátia and Degeratu, Mihai-Ovidiu and Mastropasqua, Francesca and Humphrey, Jenny and Ye, Xuan and Oksanen, Marika and Vuillermin, Peter and Ponsonby, Anne-Louise and Lanekoff, Ingela and Tammimies, Kristiina and {the Barwon Infant Study Investigator Group}},
title = {{Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders}},
journal = {EBioMedicine},
year = {2026},
month = may,
volume = {128},
pages = {106291},
publisher = {Elsevier},
issn = {2352-3964},
doi = {10.1016/j.ebiom.2026.106291},
url = {https://doi.org/10.1016/j.ebiom.2026.106291},
pmid = {42150307},
pmcid = {PMC13213235}
}

RIS

TY - JOUR
AU - Arora, Abishek
AU - Vacy, Kristina
AU - Marques, Cátia
AU - Degeratu, Mihai-Ovidiu
AU - Mastropasqua, Francesca
AU - Humphrey, Jenny
AU - Ye, Xuan
AU - Oksanen, Marika
AU - Vuillermin, Peter
AU - Ponsonby, Anne-Louise
AU - Lanekoff, Ingela
AU - Tammimies, Kristiina
AU - the Barwon Infant Study Investigator Group
TI - Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders
T2 - EBioMedicine
J2 - eBioMedicine
PY - 2026
DA - 2026/05/18
VL - 128
SP - 106291
SN - 2352-3964
PB - Elsevier
DO - 10.1016/j.ebiom.2026.106291
UR - https://doi.org/10.1016/j.ebiom.2026.106291
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.ebiom.2026.106291",
"type": "article-journal",
"title": "Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders",
"container-title": "EBioMedicine",
"author": [
{
"family": "Arora",
"given": "Abishek"
},
{
"family": "Vacy",
"given": "Kristina"
},
{
"family": "Marques",
"given": "Cátia"
},
{
"family": "Degeratu",
"given": "Mihai-Ovidiu"
},
{
"family": "Mastropasqua",
"given": "Francesca"
},
{
"family": "Humphrey",
"given": "Jenny"
},
{
"family": "Ye",
"given": "Xuan"
},
{
"family": "Oksanen",
"given": "Marika"
},
{
"family": "Vuillermin",
"given": "Peter"
},
{
"family": "Ponsonby",
"given": "Anne-Louise"
},
{
"family": "Lanekoff",
"given": "Ingela"
},
{
"family": "Tammimies",
"given": "Kristiina"
},
{
"literal": "the Barwon Infant Study Investigator Group"
}
],
"container-title-short": "eBioMedicine",
"volume": "128",
"page": "106291",
"DOI": "10.1016/j.ebiom.2026.106291",
"PMID": "42150307",
"PMCID": "PMC13213235",
"ISSN": "2352-3964",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.ebiom.2026.106291",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
18
]
]
}
}

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.1186/s12888-026-08178-8 [code]
Machine learning model to identify gut microbiome-derived metabolites as potential biomarkers of autism spectrum disorder: a pilot study.
Journal: BMC psychiatry
In common: genetics / omics, 3 references
[2] doi:10.64898/2026.08.13.26360304 [code]
Lifespan brain structural variation reveals shared organization across mental health conditions
Journal: medRxiv (preprint)
In common: author Kristiina Tammimies
[3] doi:10.1002/hbm.70605 [code]
BrainEnrich: Revealing Biological Insights for Imaging-Derived Phenotypes Through Transcriptomic Enrichment.
Journal: Human brain mapping
In common: nlme, tidyverse, genetics / omics
[4] doi:10.1038/s41562-026-02486-5 [code]
Genome-wide association studies of infant and toddler temperament in European and multi-ancestry populations.
Journal: Nature human behaviour
In common: nlme, tidyverse, genetics / omics
[5] doi:10.1038/s41467-026-71542-5 [code]
Astrocyte fatty acid metabolism as a driver of risk for major depressive disorder.
Journal: Nature communications
In common: nlme, tidyverse, genetics / omics
[6] doi:10.1038/s41380-026-03694-1 [code]
Targeting cortico-striatal-amygdalar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial.
Journal: Molecular psychiatry
In common: nlme, tidyverse, other condition
[7] doi:10.1016/j.nicl.2026.104012 [code]
Structural-functional multilayer brain network properties and outcome of combined repetitive transcranial magnetic stimulation and psychotherapy for obsessive-compulsive disorder.
Journal: NeuroImage. Clinical
In common: nlme, tidyverse, other condition
[8] doi:10.1038/s41398-026-04122-2 [code]
Multi-session CBM-I for social anxiety: examining psychopathology, cognitive, neural, and psychophysiological effects in a randomized controlled trial.
Journal: Translational psychiatry
In common: nlme, tidyverse, other condition
[9] doi:10.1038/s41467-026-71415-x [code]
Regional BOLD variability reflects microstructural maturation and neuronal ensheathment in the preterm infant cortex.
Journal: Nature communications
In common: nlme, tidyverse, other condition
[10] doi:10.1002/npr2.70125
Glutathione-Related Metabolite Levels and Enzyme Activities in Depression: A Systematic Review and Meta-Analysis.
Journal: Neuropsychopharmacology reports
In common: 2 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.