Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines with early symptoms of neurodevelopmental disorders.
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
- ---
- title: "SSRI – Differential Metabolomics Analysis"
- author: "Abishek Arora"
- date: "10/06/2025"
- ---
- # Differential Metabolomics Analysis
- 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.
- ## Fluoxetine hydrochloride (FH)
- ### Day 5
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- library("nlme")
- FH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- FH_metabolome <- FH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "FH"))
- FH_metabolome$exp <- factor(FH_metabolome$exp, levels = c("Control", "FH"))
- list_metab <- split(FH_metabolome, FH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ### Day 28
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- FH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- FH_metabolome <- FH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "FH"))
- FH_metabolome$exp <- factor(FH_metabolome$exp, levels = c("Control", "FH"))
- list_metab <- split(FH_metabolome, FH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ## Citalopram
- ### Day 5
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- CH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- CH_metabolome <- CH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "CH"))
- CH_metabolome$exp <- factor(CH_metabolome$exp, levels = c("Control", "CH"))
- list_metab <- split(CH_metabolome, CH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ### Day 28
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- CH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- CH_metabolome <- CH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "CH"))
- CH_metabolome$exp <- factor(CH_metabolome$exp, levels = c("Control", "CH"))
- list_metab <- split(CH_metabolome, CH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ## Sertraline
- ### Day 5
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- SH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- SH_metabolome <- SH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "SH"))
- SH_metabolome$exp <- factor(SH_metabolome$exp, levels = c("Control", "SH"))
- list_metab <- split(SH_metabolome, SH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ### Day 28
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- SH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- SH_metabolome <- SH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "SH"))
- SH_metabolome$exp <- factor(SH_metabolome$exp, levels = c("Control", "SH"))
- list_metab <- split(SH_metabolome, SH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ## Paroxetine
- ### Day 5
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- PH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- PH_metabolome <- PH_metabolome %>% filter(diff_time == "Day 5", exp == c("Control", "PH"))
- PH_metabolome$exp <- factor(PH_metabolome$exp, levels = c("Control", "PH"))
- list_metab <- split(PH_metabolome, PH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
- ### Day 28
- 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
- ```{r}
- # Load package libraries and import the dataset to be analysed.
- rm(list = ls())
- library("tidyverse")
- PH_metabolome <- read.csv("add file path to metabo_conc.csv here")
- PH_metabolome <- PH_metabolome %>% filter(diff_time == "Day 28", exp == c("Control", "PH"))
- PH_metabolome$exp <- factor(PH_metabolome$exp, levels = c("Control", "PH"))
- list_metab <- split(PH_metabolome, PH_metabolome$metabo)
- results_df <- read.csv("add file path to metabo_list.csv here", row.names=1)
- # Load function for preparing dataframe of the model outputs:
- merge.all <- function(x, ..., by = "row.names") {
- L <- list(...)
- for (i in seq_along(L)) {
- x <- merge(x, L[[i]], by = by)
- rownames(x) <- x$Row.names
- x$Row.names <- NULL
- }
- return(x)
- }
- ```
- ```{r}
- # Define the linear model and loop through the summary results.
- results <- vector(mode = "list", length = 189)
- for (i in 1:length(list_metab)) {
- tryCatch({
- model <- lme(metabo_conc ~ exp, random = ~ 1 | cell_line, data = list_metab[[i]], na.action = na.omit)
- results[[i]] <- summary(model)
- }, error = function(e){cat("ERROR :",conditionMessage(e), "\n")})
- }
- # Aggregate the p values from the summary results for the linear model.
- pvalues <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- pvalues[[i]] <- df[2,5]
- }
- names(pvalues) <- names(list_metab)
- summary_res <- unlist(pvalues)
- summary_res <- as.data.frame(summary_res, add.rownames = True)
- summary_results <- merge(x = results_df, y = summary_res, by = 'row.names', all.x = TRUE)
- summary_results <- summary_results %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- # Aggregate the estimates from the summary results for the linear model.
- ests <- vector(mode = "list", length = 189)
- for (i in 1:length(results)) {
- df <- as.data.frame(results[[i]][["tTable"]])
- ests[[i]] <- df[2,1]
- }
- names(ests) <- names(list_metab)
- est_res <- unlist(ests)
- est_res <- as.data.frame(est_res, add.rownames = True)
- est_res <- merge(x = results_df, y = est_res, by = 'row.names', all.x = TRUE)
- est_res <- est_res %>% remove_rownames %>% column_to_rownames(var = "Row.names")
- est_res[,1] <- NULL
- # Perform correction for multiple comparisons using the FDR method.
- p.adj <- p.adjust(summary_results$summary_res, method = "fdr", n = length(summary_results$summary_res))
- names(p.adj) <- names(list_metab)
- p.adj.df <- as.data.frame(p.adj)
- # Combine all dataframes for final result.
- final_res <- merge.all(summary_results, est_res, p.adj.df)
- colnames(final_res) <- c("Category", "p value", "Estimate", "Adj. p value")
- write.csv(final_res,"add file path for desired folder to save results here", row.names = TRUE)
- ```
SSRI_Differential_Metabolomics.Rmd at commit cf3022b, under CC0-1.0 · at the source
Overview
- 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
- Astrid Lindgren Children’s Hospital, Karolinska University Hospital, Region Stockholm, Stockholm, Sweden
- Science for Life Laboratory, Karolinska Institutet, Stockholm, Sweden
- Florey Institute of Neuroscience and Mental Health, University of Melbourne, Victoria, Australia
- Melbourne School of Population and Global Health, University of Melbourne, Victoria, Australia
- Department of Chemistry for Life Sciences, Uppsala University, Uppsala, Sweden
- Murdoch Children’s Research Institute, Royal Children's Hospital, and Department of Paediatrics, University of Melbourne, Victoria, Australia
- Center of Excellence for the Chemical Mechanisms of Life, Uppsala University, Uppsala, Sweden
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
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
cf3022bd4a1c66348e9bac9417f16704d850ed92, 14 July 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
3 files
- SSRI_Differential_Metabo
lomics.Rmd — R, 635 lines - LICENSE — License, 121 lines
- README.md — Text, 23 lines
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://
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
BibTeX
@article{arora2026metabo
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
journal = {EBioMedicine},
year = {2026},
month = may,
volume = {128},
pages = {106291},
publisher = {Elsevier},
issn = {2352-3964},
doi = {10.1016/
url = {https://
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
T2 - EBioMedicine
J2 - eBioMedicine
PY - 2026
DA - 2026/
VL - 128
SP - 106291
SN - 2352-3964
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Metabolomic signatures of SSRI exposure during neural differentiation and correlation of lysophosphatidylcholines
"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":
"volume": "128",
"page": "106291",
"DOI": "10.1016/
"PMID": "42150307",
"PMCID": "PMC13213235",
"ISSN": "2352-3964",
"publisher": "Elsevier",
"URL": "https://
"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 psychiatryIn common: genetics / omics, 3 references
- [2] doi:10.64898/2026.08.13.26360304 [code]
- Lifespan brain structural variation reveals shared organization across mental health conditionsJournal: 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 mappingIn 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 behaviourIn 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 communicationsIn common: nlme, tidyverse, genetics / omics
- [6] doi:10.1038/s41380-026-03694-1 [code]
- Targeting cortico-striatal-amygdal
ar networks via theta-band frontoparietal synchronization in opioid use disorder: a randomized tACS-fMRI Trial. Journal: Molecular psychiatryIn 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. ClinicalIn 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 psychiatryIn 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 communicationsIn 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 reportsIn 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.
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:4daa51ef54425104…
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.
