Effects on hippocampal activity following novel 5-HT4 receptor agonism in unmedicated patients with depression: the RESTAND study.
6 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 6 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § Results › fMRI memory encoding task › Main effect of task ↔ Emotional Cognition paper scripts/06_fmri_wholebrain_clusters.R, lines 1 to 80 · score 0.82 · frontal pole, paracingulate gyrus, frontal gyrus, lateral occipital, temporal, cerebellum · block
oscr:b:NX8D2DCTA95D8-9· Report a mismatch - [2] § Materials and methods › Questionnaire measures ↔ Emotional Cognition paper scripts/09_selfreport.R, lines 1 to 52 · score 0.77 · depressive symptoms, state anxiety, Research Visit, PANAS, STAI, anhedonia · block
oscr:b:KPG5S3V6QQDA0-1· Report a mismatch - [3] § Materials and methods › Questionnaire measures ↔ Emotional Cognition paper scripts/02_demographic_comparison.R, the whole file · a weak match · score 0.69 · Trait Anxiety, depressive symptoms, Inventory, STAI, anhedonia, BDI · block
oscr:b:JSFW6K72F43HG-1· Report a mismatch - [4] § Results › Auditory verbal learning task ↔ RESTAND AVLT ANALYSIS_forpublication.Rmd, lines 562 to 578 · score 0.59 · menstrual cramps, long delay, word recall, unblinding, AVLT · block
oscr:b:5HE2WT0WR0A8T-E· Report a mismatch - [5] § Materials and methods › Statistical analysis › MRI data acquisition and analysis – primary analyses ↔ Emotional Cognition paper scripts/07_ROI_analysis.R, lines 417 to 490 · score 0.58 · BOLD signal change, ROI, fMRI, FEAT, cluster, baseline · block
oscr:b:XJAVYK4757KKN-M· Report a mismatch - [6] § Results › Auditory verbal learning task ↔ RESTAND AVLT ANALYSIS_forpublication.Rmd, lines 186 to 222 · score 0.54 · Word recall, Short Delay, Long Delay, block, Scores · block
oscr:b:ZV2DR97WEHW36-R· 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 · 706 lines · 20 KB · no license · 2 matches
- ---
- title: "RESTAND Analysis"
- author: "Amy Gillespie, adapted by Angharad de Cates "
- date: "`r Sys.Date()`"
- output:
- html_document: default
- keep_md: yes
- ---
- ```{r setup, include=FALSE}
- knitr::opts_chunk$set(dev = "svg",
- dpi = 300,
- echo = FALSE,
- message=FALSE,
- cache = TRUE,
- fig.width = 10,
- fig.height = 10)
- library(dplyr)
- library(ggplot2)
- library(rstatix) #mean_sd summaries
- library(tidyr)
- library(ggpubr) #ggdensity plots
- library(moments) #skewness
- library(car) #levenetest
- library(ez) #anovas for avlt
- library(stringr) #manipulating strings of text in columns
- library(tidyverse)
- library(effectsize)
- #set theme for plots
- theme = theme_set(theme_minimal())
- theme = theme_update(legend.position="bottom",
- panel.grid.major.x=element_blank(),
- axis.line.x = element_blank(),
- axis.line.y = element_blank(),
- axis.ticks.y = element_line(colour="grey"),
- axis.title.x = element_text(colour="grey26"),
- axis.title.y = element_text(colour="grey26"),
- axis.text.x = element_text(colour="grey26"),
- axis.text.y = element_text(colour="grey26"),
- text=element_text(face="bold", size=11))
- figgroupnames_twoway <- c("5HT4", "Placebo")
- figgroupcolours_twoway <- c("blue", "#A6A6A6")
- figgroupnames <- c("PF-04995274 (5HT4 agonist)", "Citalopram", "Placebo")
- figgroupcolours <- c("#D55E00", "#99CCFF", "#A6A6A6")
- RESTAND_unblinded_allocations <- read.csv("C:/Users/adecates/OneDrive - Nexus365/Shared Documents/Data/Manual_input_data/RESTAND/RESTAND_unblinded_ids.csv") #subjects IDs & medication groups
- #read in datatracker with all ids
- datatracker <- read.csv("C:/Users/adecates/OneDrive - Nexus365/Shared Documents/Data/Manual_input_data/RESTAND/RESTAND_final_datatrackerAUG2022.csv")
- ```
- ## Demographics
- ```{r}
- Demographics <- read.csv("C:/Users/adecates/OneDrive - Nexus365/Shared Documents/Data/Manual_input_data/RESTAND/RESTAND_demographics.csv")
- Demographics <- Demographics[-c(91:92),]
- Demographics <- Demographics %>%
- select(PID, Age_decimal, Sex, Race, First_language, Medical_history:Caff_perday, BMI, Years_Educ)
- Demographics$Sex<- toupper(Demographics$Sex)
- Demographics$First_language<- tolower(Demographics$First_language)
- Demographics[Demographics == "Missing"] <- NA
- Demographics[Demographics == "MISSING"] <- NA
- Demographics$Years_Educ <- as.numeric(as.character(Demographics$Years_Educ, na.rm = TRUE))
- Demographics$BMI <- as.numeric(as.character(Demographics$BMI, na.rm = TRUE))
- RESTAND_Demo <- merge (RESTAND_unblinded_allocations, Demographics, by = "PID")
- RESTAND_HAMD <- read.csv("C:/Users/adecates/OneDrive - Nexus365/DPhil work/5HT4_novel/Analysis/AVLT/5HT4 RESTAND_HAMD_forR.csv")
- RESTAND_HAMD$HAMD_SV <- as.numeric(as.character(RESTAND_HAMD$HAMD_SV, na.rm = TRUE))
- RESTAND_HAMD$HAMD_change <- as.numeric(as.character(RESTAND_HAMD$HAMD_change, na.rm = TRUE))
- RESTAND_HAMD <- RESTAND_HAMD %>%
- select(PID, Rand_no, HAMD_SV, HAMD_change)
- #summary(RESTAND_Demo)
- ```
- ```{r create RESTAND_participants - core demographic and group allocation file}
- RESTAND_participants <- merge(RESTAND_Demo, RESTAND_HAMD, by = c("PID", "Rand_no"), all = TRUE)
- RESTAND_participants <- merge(RESTAND_participants, datatracker, by = c("PID", "Rand_no"), all = TRUE)
- RESTAND_participants <- RESTAND_participants %>%
- select(PID, Rand_no, MedicationGroup, Sex, Age_decimal, Rvday, MR_randcode.x, HAMD_SV, HAMD_change)
- ```
- #Sex
- ```{r}
- RESTAND_male_participants <- RESTAND_participants %>%
- filter (Sex == "M")
- RESTAND_female_participants <- RESTAND_participants %>%
- filter (Sex == "F")
- ```
- ## AVLT
- ```{r}
- RESTAND_AVLT <- read.csv("C:/Users/adecates/OneDrive - Nexus365/Shared Documents/Data/Manual_input_data/RESTAND/RESTAND_AVLT.csv", header=TRUE)
- RESTAND_AVLT_wide <- merge (RESTAND_participants, RESTAND_AVLT, by = "PID")
- setwd("C:/Users/adecates/OneDrive - Nexus365/DPhil work/5HT4_novel/Analysis/AVLT")
- write.csv(RESTAND_AVLT_wide, "AVLT_full_R_allpts.csv")
- RESTAND_AVLT_wide$PID <- as.factor(RESTAND_AVLT_wide$PID) #counts the participant IDs as categorical
- RESTAND_AVLT_wide$MedicationGroup <- as.factor(RESTAND_AVLT_wide$MedicationGroup) #counts the drug condition as categorical
- RESTAND_AVLT_wide_female <- RESTAND_AVLT_wide %>%
- filter(Sex == "F")
- RESTAND_AVLT_wide_male <- RESTAND_AVLT_wide %>%
- filter(Sex == "M")
- RESTAND_AVLT_wide_twoway <- RESTAND_AVLT_wide %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_wide_twoway_cit_plac <- RESTAND_AVLT_wide %>%
- filter(MedicationGroup == "Citalopram"|MedicationGroup == "Placebo")
- RESTAND_AVLT_wide_twoway_female <- RESTAND_AVLT_wide_female %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_wide_twoway_male <- RESTAND_AVLT_wide_male %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_long <- RESTAND_AVLT_wide %>%
- gather(key="Block", value = "Score", T1_correct, T2_correct, T3_correct, T4_correct, T5_correct, ListB_correct, Short_delay, Long_delay)
- RESTAND_AVLT_long$Block <- as.character(RESTAND_AVLT_long$Block)
- RESTAND_AVLT_long_female <- RESTAND_AVLT_long %>%
- filter(Sex == "F")
- RESTAND_AVLT_long_male <- RESTAND_AVLT_long %>%
- filter(Sex == "M")
- RESTAND_AVLT_long_twoway <- RESTAND_AVLT_long %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_long_twoway_cit_plac <- RESTAND_AVLT_long %>%
- filter(MedicationGroup == "Citalopram"|MedicationGroup == "Placebo")
- RESTAND_AVLT_long_ListA <- RESTAND_AVLT_long %>%
- filter (Block == c("T1_correct", "T2_correct", "T3_correct", "T4_correct", "T5_correct"))
- RESTAND_AVLT_long_ListA_twoway <- RESTAND_AVLT_long_twoway %>%
- filter (Block == c("T1_correct", "T2_correct", "T3_correct", "T4_correct", "T5_correct"))
- RESTAND_AVLT_long_twoway_female <- RESTAND_AVLT_long_female %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_long_twoway_male <- RESTAND_AVLT_long_male %>%
- filter(MedicationGroup == "Active"|MedicationGroup == "Placebo")
- RESTAND_AVLT_wide %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(T1_correct:T5_correct, type = "mean_sd")
- ```
- ```{r}
- # Reorder and rename the levels of the Block variable
- RESTAND_AVLT_long_twoway$Block <- factor(
- RESTAND_AVLT_long_twoway$Block,
- levels = c("T1_correct", "T2_correct", "T3_correct", "T4_correct",
- "T5_correct", "ListB_correct", "Short_delay", "Long_delay"),
- labels = c("List A Trial1", "List A Trial2", "List A Trial3",
- "List A Trial4", "List A Trial5", "List B",
- "List A Short Delay", "List A Long Delay")
- )
- summary_df <- RESTAND_AVLT_long_twoway %>%
- group_by(Block, MedicationGroup) %>%
- dplyr::summarise(
- mean = mean(Score, na.rm = TRUE),
- se = sd(Score, na.rm = TRUE) / sqrt(n()),
- lower = mean(Score, na.rm = TRUE) - (sd(Score, na.rm = TRUE) / sqrt(n())),
- upper = mean(Score, na.rm = TRUE) + (sd(Score, na.rm = TRUE) / sqrt(n())),
- .groups = "drop"
- )
- AVLT_plot_line_2way_updated <- ggplot(summary_df, aes(x = Block, y = mean, color = factor(MedicationGroup), fill = factor(MedicationGroup), group = factor(MedicationGroup))) +
- geom_ribbon(aes(ymin = lower, ymax = upper), alpha = 0.2, linetype = 3) + # increased transparency
- geom_line(size = 1, linetype = "solid") + # darker/thicker mean line
- geom_point(size = 3) +
- scale_color_manual(name = "Medication", labels = figgroupnames_twoway, values = figgroupcolours_twoway) +
- scale_fill_manual(name = "Medication", labels = figgroupnames_twoway, values = figgroupcolours_twoway) +
- coord_cartesian(ylim = c(5, 15)) +
- theme() +
- labs(title = "AVLT Recall Across Medication Groups",
- x = "AVLT Block", y = "Number of Words Recalled", tag = "A")
- AVLT_plot_line_2way_updated
- ```
- ### Number of words recalled - List A immediate (total correct) & score for each block with block
- ```{r}
- RESTAND_AVLT_wide %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(Total_correct, type = "mean_sd")
- summary(aov(Total_correct ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway))
- Twowayaccuracy_block <- lmer(Score ~ MedicationGroup * Block + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twowayaccuracy_block)
- library(effectsize)
- eta_squared(Twowayaccuracy_block, partial = TRUE)
- ```
- ### Repeat of above main analyses using citVsplac as repeat for supplement
- ```{r}
- summary(aov(Total_correct ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway_cit_plac))
- Twowayaccuracy_block <- lmer(Score ~ MedicationGroup * Block + (1|PID), data = RESTAND_AVLT_long_twoway_cit_plac)
- anova(Twowayaccuracy_block)
- eta_squared(Twowayaccuracy_block, partial = TRUE)
- ```
- #### Interaction with sex
- ```{r}
- Twoway_accuracy_block_sex <- lmer(Score ~ MedicationGroup * Block * Sex + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_accuracy_block_sex)
- effect_sizes_anova_sex <- eta_squared(Twowayaccuracy_block_sex, partial = TRUE)
- print(effect_sizes_anova_sex)
- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Total_correct, type = "mean_sd")
- ```
- ```{r}
- # Plotting for sex
- # Calculate mean and standard error
- RESTAND_AVLT_wide_twoway_plottable <- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- dplyr::summarise(
- mean = mean(Total_correct, na.rm = TRUE), # Added na.rm=TRUE
- se = sd(Total_correct, na.rm = TRUE) / sqrt(n())
- )
- # Reshape the data for means
- means_wide <- RESTAND_AVLT_wide_twoway_plottable %>%
- select(MedicationGroup, Sex, mean) %>%
- tidyr::pivot_wider(names_from = MedicationGroup, names_prefix = "Total_correct", values_from = mean)
- # Reshape the data for standard errors
- se_wide <- RESTAND_AVLT_wide_twoway_plottable %>%
- select(MedicationGroup, Sex, se) %>%
- tidyr::pivot_wider(names_from = MedicationGroup, names_prefix = "SE", values_from = se)
- # Convert to matrix format for plotting
- means_matrix <- as.matrix(means_wide[,-1])
- se_matrix <- as.matrix(se_wide[,-1])
- rownames(means_matrix) <- means_wide$Sex
- # Set up the plotting area with space for the legend at the bottom
- # par(xpd = TRUE) allows plotting outside the plot area for the legend
- par(xpd = TRUE, mar = c(5, 4, 4, 2) + 0.1) # Increase bottom margin for legend
- # Create the barplot
- bp <- barplot(means_matrix,
- beside = TRUE,
- legend = FALSE, # Remove default legend
- col = c("orange", "darkgreen"),
- main = "AVLT Total Correct",
- ylim = c(0,100),
- ylab = "Total Correct for List A",
- names.arg = c("5HT4", "Placebo"))
- # Add error bars
- for(i in 1:nrow(means_matrix)) {
- arrows(bp[i,], means_matrix[i,] - se_matrix[i,],
- bp[i,], means_matrix[i,] + se_matrix[i,],
- angle=90, code=3, length=0.05)
- }
- # Add legend below the plot
- legend(x = "bottom", # Position the legend at the bottom
- inset = -0.2, # Move legend down
- legend = rownames(means_matrix), # Sex labels
- fill = c("orange", "darkgreen"),
- horiz = TRUE, # Horizontal legend
- bty = "n") # No box around legend
- # Reset plotting parameters
- par(mar = c(5, 4, 4, 2))
- par(xpd = FALSE)
- # Updated above with spread of data
- # Calculate mean and standard error
- RESTAND_AVLT_wide_twoway_plottable <- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- dplyr::summarise(
- mean = mean(Total_correct, na.rm = TRUE),
- se = sd(Total_correct, na.rm = TRUE) / sqrt(n())
- )
- # Reshape the data for means and SEs
- means_wide <- RESTAND_AVLT_wide_twoway_plottable %>%
- select(MedicationGroup, Sex, mean) %>%
- tidyr::pivot_wider(names_from = MedicationGroup, names_prefix = "Total_correct", values_from = mean)
- se_wide <- RESTAND_AVLT_wide_twoway_plottable %>%
- select(MedicationGroup, Sex, se) %>%
- tidyr::pivot_wider(names_from = MedicationGroup, names_prefix = "SE", values_from = se)
- # Convert to matrix for plotting
- means_matrix <- as.matrix(means_wide[,-1])
- se_matrix <- as.matrix(se_wide[,-1])
- rownames(means_matrix) <- means_wide$Sex
- # Set up plotting area with space for legend
- par(xpd = TRUE, mar = c(5, 4, 4, 2) + 0.1) # Adjust bottom margin for legend
- # # Create grouped barplot
- # bp <- barplot(means_matrix,
- # beside = TRUE,
- # legend = FALSE, # We'll add custom legend
- # col = c("orange", "darkgreen"),
- # main = "AVLT Total Correct",
- # ylim = c(0, 100),
- # ylab = "Total Correct for List A",
- # names.arg = c("5HT4", "Placebo"))
- # Define lighter fill colors and darker border colors
- fill_colors <- c("#FFCC99", "#99CC99") # Light orange, light green
- border_colors <- c("#CC6600", "#336600") # Darker orange, dark green
- par(lwd=4)
- # Set space between groups and bars (space = c(space_between_groups, space_within_group))
- # For 2 bars per group: e.g., 0.5 between groups, 0.3 between bars within group
- bp <- barplot(
- means_matrix,
- beside = TRUE,
- legend = FALSE,
- col = fill_colors, # Lighter fill
- border = border_colors, # Darker outline
- space = c(0.3, 0.8), # Adds space between groups and between bars in groups
- main = "AVLT Total Correct",
- ylim = c(0, 100),
- ylab = "Total Correct for List A",
- names.arg = c("5HT4", "Placebo")
- )
- # Add error bars (mean ± SE)
- for(i in 1:nrow(means_matrix)) {
- arrows(bp[i,], means_matrix[i,] - se_matrix[i,],
- bp[i,], means_matrix[i,] + se_matrix[i,],
- angle=90, code=3, length=0.3, lwd=2)
- }
- par(lwd=1)
- # Subset original data to only desired MedicationGroup levels
- RESTAND_sub <- RESTAND_AVLT_wide_twoway %>%
- filter(MedicationGroup %in% c("Active", "Placebo"))
- # Drop unused factor levels after subsetting
- RESTAND_sub$MedicationGroup <- droplevels(RESTAND_sub$MedicationGroup)
- # Then get med_levels from this cleaned data
- med_levels <- levels(RESTAND_sub$MedicationGroup)
- sex_levels <- unique(RESTAND_sub$Sex) # returns character vector of unique Sex values
- for (i in seq_along(sex_levels)) {
- for (j in seq_along(med_levels)) {
- # Filter raw data for this group
- ind <- which(RESTAND_sub$Sex == sex_levels[i] & RESTAND_sub$MedicationGroup == med_levels[j])
- y_vals <- RESTAND_sub$Total_correct[ind]
- x_pos <- bp[i, j]
- point_colors <- c("Active" = "darkblue", "Placebo" = "darkgrey")
- # Add horizontal jitter to avoid overlapping points
- x_jitter <- jitter(rep(x_pos, length(y_vals)), amount = 0.2)
- points(x_jitter, y_vals, pch = 21, bg = point_colors[med_levels[j]], col = "black", cex = 0.8)
- }
- }
- # Add legend below the plot
- legend(x = "bottom",
- inset = -0.2,
- legend = rownames(means_matrix),
- fill = c("orange", "darkgreen"),
- horiz = TRUE,
- bty = "n")
- # Reset par settings
- par(mar = c(5, 4, 4, 2))
- par(xpd = FALSE)
- ```
- #### Women only for Total Correct
- ```{r}
- summary(aov(Total_correct ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway_female))
- ```
- #### Men only for Total Correct
- ```{r}
- summary(aov(Total_correct ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway_male))
- ```
- #### Sex and medication group when model block
- ```{r}
- Twoway_main_sex <- lmer(Score ~ MedicationGroup * Block * Sex + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_main_sex)
- effect_sizes_Twoway_main_sex <- eta_squared(Twoway_main_sex, partial = TRUE)
- print(effect_sizes_Twoway_main_sex)
- ```
- #### Women only
- ```{r}
- Twoway_main_sex_female <- lmer(Score ~ MedicationGroup * Block + (1|PID), data = RESTAND_AVLT_long_ListA_twoway_female)
- anova(Twoway_main_sex_female)
- effect_sizes_Twoway_main_sex_female <- eta_squared(Twoway_main_sex_female, partial = TRUE)
- print(effect_sizes_Twoway_main_sex_female)
- RESTAND_AVLT_wide_female %>%
- group_by(MedicationGroup,) %>%
- get_summary_stats(T1_correct:T5_correct, type = "mean_sd")
- ```
- #### Men only (small n)
- ```{r}
- RESTAND_AVLT_wide_male %>%
- group_by(MedicationGroup,) %>%
- get_summary_stats(T1_correct:T5_correct, type = "mean_sd")
- ```
- #### Age and medication group when model block
- ```{r}
- Twoway_main_age <- lmer(Score ~ MedicationGroup * Block * Age_decimal + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_main_sex)
- effect_sizes_Twoway_main_age <- eta_squared(Twoway_main_age, partial = TRUE)
- print(effect_sizes_Twoway_main_age)
- ```
- #### HAMD baseline, and Age + HAMD baseline, and HAM change and medication group when model block
- ```{r}
- Twoway_main_HAMDbaseline <- lmer(Score ~ MedicationGroup * Block * HAMD_SV + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_main_HAMDbaseline)
- effect_sizes_Twoway_main_HAMDbaseline <- eta_squared(Twoway_main_HAMDbaseline, partial = TRUE)
- print(effect_sizes_Twoway_main_HAMDbaseline)
- Twoway_main_HAMDbaseline_age <- lmer(Score ~ MedicationGroup * Block * Age_decimal * HAMD_SV + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_main_HAMDbaseline_age)
- effect_sizes_Twoway_main_HAMDbaseline_age <- eta_squared(Twoway_main_HAMDbaseline_age, partial = TRUE)
- print(effect_sizes_Twoway_main_HAMDbaseline_age)
- Twoway_main_HAMDchange <- lmer(Score ~ MedicationGroup * Block * HAMD_change + (1|PID), data = RESTAND_AVLT_long_twoway)
- anova(Twoway_main_HAMDchange)
- effect_sizes_Twoway_main_HAMDchange <- eta_squared(Twoway_main_HAMDchange, partial = TRUE)
- print(effect_sizes_Twoway_main_HAMDchange)
- ```
- ### Number of words recalled - List A short delay
- ```{r}
- anova_SD <- aov(Short_delay ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway)
- summary(anova_SD)
- effect_sizes_anova_SD <- eta_squared(anova_SD, partial = TRUE)
- print(effect_sizes_anova_SD)
- ```
- #### Interaction between medication group and sex
- ```{r}
- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Short_delay, type = "mean_sd")
- ```
- ### Number of words recalled - List A long delay
- ```{r}
- #FILTER DOWN EXCLUDE 187
- RESTAND_AVLT_wide_longdelay_twoway <- RESTAND_AVLT_wide_twoway %>%
- filter (PID != "UMD187") # RESTAND_exclusiondecisions.csv – it was because she had a 1+ hour gap mid research visit due to menstrual cramps, so a lot longer delay than intended, and we decided to exclude before unblinding
- anova_LD <- aov(Long_delay ~ MedicationGroup, data = RESTAND_AVLT_wide_longdelay_twoway)
- summary(anova_LD)
- effect_sizes_anova_LD <- eta_squared(anova_LD, partial = TRUE)
- print(effect_sizes_anova_LD)
- RESTAND_AVLT_wide_longdelay_twoway %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(Long_delay, type = "mean_sd")
- ```
- #### Interaction between medication and sex
- ```{r}
- RESTAND_AVLT_wide_longdelay_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Long_delay, type = "mean_sd")
- ```
- ### Intrusions
- ```{r}
- RESTAND_AVLT_wide %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(Intrusions, type = "mean_sd")
- summary(aov(Intrusions ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway))
- ```
- #### Interaction between medication and sex
- ```{r}
- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Intrusions, type = "mean_sd")
- ```
- ### Repetitions
- ```{r}
- RESTAND_AVLT_wide %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(Repetitions, type = "mean_sd")
- summary(aov(Repetitions ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway))
- ```
- #### Interaction between medication group with sex
- ```{r}
- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Repetitions, type = "mean_sd")
- ```
- ### Number of words recalled - List B immediate
- ```{r}
- RESTAND_AVLT_wide %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(ListB_correct, type = "mean_sd")
- #
- anova_listB <- aov(ListB_correct ~ MedicationGroup, data = RESTAND_AVLT_wide_twoway)
- summary(anova_listB)
- effect_sizes_anova_listB <- eta_squared(anova_listB, partial = TRUE)
- print(effect_sizes_anova_listB)
- ```
- #### Interaction between medication and sex
- ```{r}
- RESTAND_AVLT_wide_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(ListB_correct, type = "mean_sd")
- ```
- ### Recognition - hits
- ```{r}
- RESTAND_AVLT_wide_longdelay_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Recog_hits, type = "mean_sd")
- summary(aov(Recog_hits ~ MedicationGroup, data = RESTAND_AVLT_wide_longdelay_twoway))
- ```
- ### Recognition - false alarms
- ```{r}
- RESTAND_AVLT_wide_longdelay_twoway %>%
- group_by(MedicationGroup) %>%
- get_summary_stats(Recog_falsepos, type = "mean_sd")
- summary(aov(Recog_falsepos ~ MedicationGroup, data = RESTAND_AVLT_wide_longdelay_twoway))
- ```
- #### Interaction between medication and sex
- ```{r}
- RESTAND_AVLT_wide_longdelay_twoway %>%
- group_by(MedicationGroup, Sex) %>%
- get_summary_stats(Recog_falsepos, type = "mean_sd")
- ```
RESTAND AVLT ANALYSIS_forpublication.Rmd, no license · at the source
Overview
- Institute for Mental Health, University of Birmingham, Edgbaston, Birmingham, UK
- University Department of Psychiatry, Warneford Hospital, University of Oxford, Oxford, UK
- Oxford Health NHS Foundation Trust, Warneford Hospital, Oxford, UK
- Oxford Centre for Human Brain Activity, Oxford Centre for Integrative Neuroimaging, Department of Psychiatry, University of Oxford, Oxford, UK
Abstract
Cognitive impairment is a common but under-treated feature of Major Depressive Disorder (MDD). Preclinical and early human studies suggest that 5-HT4 receptor (5-HT4R) agonists rapidly improve learning and memory, consistent with this receptor’s role in hippocampal neuroplasticity. However, their effects in clinically depressed patients, remain unexplored. In this double-blind, randomised experimental medicine study, 52 right-handed, unmedicated individuals with MDD received 6–9 days of the 5-HT4R agonist PF-04995274 (15 mg, once daily) or placebo. Participants subsequently underwent fMRI scanning during a memory encoding task and completed behavioural measures of auditory verbal learning and spatial working memory. Compared to placebo, PF-04995274 significantly increased activity in the hippocampus (ROI analysis) in response to novel versus familiar images, particularly in the left hemisphere. Whole brain analysis also revealed greater activation in the left inferior parietal lobule, a key region for memory processing. In contrast with previous studies using the 5-HT4R agonist prucalopride, PF-04995274 had notably limited effects on behavioural measures of memory. The results demonstrate that short term 5-HT4R agonism enhances hippocampal and parietal activity during memory encoding in patients with depression. This replicates and extends previous findings in healthy volunteers using prucalopride, and is consistent with preclinical evidence establishing a key role for 5-HT4Rs in hippocampal-dependent learning and memory. This translational evidence supports a role for 5-HT4R activation in modulating memory-related brain circuits in MDD and previously identified beneficial effects of another 5-HT4 receptor agonist, prucalopride, on cognitive performance.
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 6 matches between paragraphs and lines of code.
OSF v7kgs
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
16 files
- Emotional Cognition paper scripts/
01_setup.R , R, 113 lines - Emotional Cognition paper scripts/
02_demographic_compariso , R, 32 lines, 1 matchn.R - Emotional Cognition paper scripts/
03_FERT_setup_transforms , R, 252 lines.R - Emotional Cognition paper scripts/
04_FERT_analysis.R , R, 271 lines - Emotional Cognition paper scripts/
05_fmri_behav_faces.R , R, 71 lines - Emotional Cognition paper scripts/
06_fmri_wholebrain_clust , R, 680 lines, 1 matchers.R - Emotional Cognition paper scripts/
07_ROI_analysis.R , R, 490 lines, 1 match - Emotional Cognition paper scripts/
08_HAMD_analysis.R , R, 184 lines - Emotional Cognition paper scripts/
09_selfreport.R , R, 266 lines, 1 match - Emotional Cognition paper scripts/
10_sideeffects_publicati , R, 584 lineson.R - Emotional Cognition paper scripts/
11_ECAT_EREC_EMEM.R , R, 227 lines - Emotional Cognition paper scripts/
12_FDOT.R , R, 60 lines - Emotional Cognition paper scripts/
13_EPS.R , R, 221 lines - Emotional Cognition paper scripts/
14_PILT_basics.R , R, 90 lines - OMT analysis_forpublication.
R , R, 598 lines - RESTAND AVLT ANALYSIS_forpublication.
Rmd , R, 706 lines, 2 matches
Code availability
Analysis code is available at the Open Science Framework (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
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;
- 16 scripts, each with its path and the digest of its content;
- 6 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
Datasets cited
- zenodo:6107724, at Zenodo; found in the text, “MRI data acquisition and analysis – primary…”
Data availability
Data is available from the authors on request.
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 11 authors, 2 keywords, 14 MeSH terms, 3 funders, 50 references.
Cite
This paper
de Cates, A. N., Gillespie, A. L., Scaife, J., Martens, M. A. G., Carson, J., Godlewska, B. R., Howard, W., Guru, A., Cowen, P. J., Harmer, C. J., & Murphy, S. E. (2026). Effects on hippocampal activity following novel 5-HT4 receptor agonism in unmedicated patients with depression: the RESTAND study. Translational psychiatry, 16(1), 405. https://
BibTeX
@article{decates2026effe
author = {de Cates, Angharad N and Gillespie, Amy L and Scaife, Jessica and Martens, Marieke A G and Carson, James and Godlewska, Beata R and Howard, Wendy and Guru, Anutra and Cowen, Philip J and Harmer, Catherine J and Murphy, Susannah E},
title = {{Effects on hippocampal activity following novel 5-HT4 receptor agonism in unmedicated patients with depression: the RESTAND study}},
journal = {Translational psychiatry},
year = {2026},
month = jun,
volume = {16},
number = {1},
pages = {405},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/
url = {https://
pmid = {42309998},
pmcid = {PMC13458156}
}
RIS
TY - JOUR
AU - de Cates, Angharad N
AU - Gillespie, Amy L
AU - Scaife, Jessica
AU - Martens, Marieke A G
AU - Carson, James
AU - Godlewska, Beata R
AU - Howard, Wendy
AU - Guru, Anutra
AU - Cowen, Philip J
AU - Harmer, Catherine J
AU - Murphy, Susannah E
TI - Effects on hippocampal activity following novel 5-HT4 receptor agonism in unmedicated patients with depression: the RESTAND study
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 405
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Effects on hippocampal activity following novel 5-HT4 receptor agonism in unmedicated patients with depression: the RESTAND study",
"container-title": "Translational psychiatry",
"author": [
{
"family": "de Cates",
"given": "Angharad N"
},
{
"family": "Gillespie",
"given": "Amy L"
},
{
"family": "Scaife",
"given": "Jessica"
},
{
"family": "Martens",
"given": "Marieke A G"
},
{
"family": "Carson",
"given": "James"
},
{
"family": "Godlewska",
"given": "Beata R"
},
{
"family": "Howard",
"given": "Wendy"
},
{
"family": "Guru",
"given": "Anutra"
},
{
"family": "Cowen",
"given": "Philip J"
},
{
"family": "Harmer",
"given": "Catherine J"
},
{
"family": "Murphy",
"given": "Susannah E"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "405",
"DOI": "10.1038/
"PMID": "42309998",
"PMCID": "PMC13458156",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
17
]
]
}
}
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.1192/bjp.2026.10664 [code]
- Early effects of a novel 5-HT&
lt;sub& gt;4& lt;/ sub& gt;R agonist (PF-04995274) and the SSRI citalopram on emotional cognition in unmedicated depression: RESTAND study. Journal: The British journal of psychiatry : the journal of mental scienceIn common: afex, easystats, rstatix, 8 other tools, Zenodo 6107724, depression, 9 references, 4 authors - [2] doi:10.3389/fpsyt.2022.859123 [code]
- The Effect of the 5-HT&
lt;sub& gt;4& lt;/ sub& gt; Agonist, Prucalopride, on a Functional Magnetic Resonance Imaging Faces Task in the Healthy Human Brain. Journal: Frontiers in psychiatryIn common: Zenodo 6107724, depression, 14 references, 2 authors - [3] doi:10.1038/s41467-026-73865-9 [code]
- Histamine shapes the neurocomputational dynamics of human learning.Journal: Nature communicationsIn common: easystats, rstatix, emmeans, 6 other tools, 3 references, 2 authors
- [4] doi: [code]
- 5-HT4 Receptor Agonist Effects on Functional Connectivity in the Human Brain: Implications for Procognitive ActionJournal: Biological psychiatry. Cognitive neuroscience and neuroimagingIn common: 13 references
- [5] doi:10.1126/sciadv.aec9291 [code]
- Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.Journal: Science advancesIn common: afex, easystats, rstatix, 8 other tools
- [6] doi:10.1038/s42003-023-04953-5 [code]
- Sulcal morphology of posteromedial cortex substantially differs between humans and chimpanzees.Journal: Communications biologyIn common: afex, easystats, rstatix, 7 other tools
- [7] doi:10.1007/s42113-025-00258-4 [code]
- Recurrent Neural Network Exploration Strategies During Reinforcement Learning Depend on Network Capacity.Journal: Computational brain & behaviorIn common: afex, easystats, rstatix, 7 other tools
- [8] doi:10.1186/s11689-025-09651-3 [code]
- The association between infant EEG aperiodic exponent and the trajectory of restricted and repetitive behaviors for toddlers with and without autism.Journal: Journal of neurodevelopmental disordersIn common: afex, easystats, rstatix, 7 other tools
- [9] doi:10.1038/s41467-024-45282-3 [code]
- Brain asymmetries from mid- to late life and hemispheric brain age.Journal: Nature communicationsIn common: afex, easystats, rstatix, 7 other tools
- [10] doi:10.1038/s42003-025-09043-2 [code]
- Neurocomputational mechanisms of social presence effects on instrumental learning.Journal: Communications biologyIn common: afex, easystats, emmeans, 7 other tools
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, 16 scripts, and 6 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:240332601f44aaa0…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s41398-026-04141-z)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41398-026-04141-z.svg
:target: https://openscicode.org/badge/doi/10.1038/s41398-026-04141-z
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41398-026-04141-z"><img src="https://openscicode.org/badge/doi/10.1038/s41398-026-04141-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.
