The Development of Hippocampal-Cortical Functional Connectivity in Infants and Toddlers.
The 6 matches
- [1] § Materials and Methods › Data Processing and Analyses › Hierarchical Clustering Analysis ↔ R_superclusters_leave1out.Rmd, lines 33–89 · score 0.74 · Euclidean distance, subtracted posterior, distance matrix, Ward, hemispheres, hierarchical
- [2] § Materials and Methods › Data Processing and Analyses › Hierarchical Clustering Analysis ↔ R_hierarchical_clustering.Rmd, lines 66–80 · score 0.67 · Euclidean distance, distance matrix, hierarchical clustering, Ward
- [3] § Results › Maturation of Functional Connectivity Along the Hippocampal Long‐Axis Reveals Canonical Cortical Networks Associated With Cognition in Adults ↔ R_superclusters_stats.Rmd, lines 188–220 · score 0.61 · Post hoc, pairwise comparisons, way interaction, model, superclusters, bins
- [4] § Results › Maturation of Functional Connectivity Along the Hippocampal Long‐Axis Reveals Canonical Cortical Networks Associated With Cognition in Adults ↔ R_hierarchical_clustering.Rmd, lines 159–196 · score 0.59 · cingulo opercular, medial parietal, mPFC, entorhinal, parahippocampal, dorsal
- [5] § Materials and Methods › Statistical Analyses ↔ R_superclusters_stats.Rmd, lines 188–220 · score 0.55 · Post hoc, FDR, emmeans, residuals, omnibus, pairwise
- [6] § Materials and Methods › Data Processing and Analyses › Cluster Validation ↔ R_superclusters_stats.Rmd, lines 797–852 · score 0.51 · parahippocampal supercluster, cross validated, selection, bias, weighted, axis
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 · 948 lines · 39 KB · MIT · 3 matches
- ---
- title: "Supercluster Statistics"
- output: html_notebook
- ---
- Version 1.0, July 2025, SA
- This script calculates a weighted average of data clustered together 100% consistently across leave1out iterations, and runs the statistical comparisons for each supercluster.
- It plots the supercluster connectivity profiles in Figure 4.
- It also runs the statistical analyses and plots for inside vs outside infantile amnesia window comparisons (Figure 5)
- Input: threshMat.csv and Hippo_BinxAxis_F_betas.txt
- # Packages and functions
- ```{r}
- library(dplyr)
- library(stringr)
- library(emmeans)
- library(ggplot2)
- library(nlme)
- library(car)
- library(Rmisc)
- ```
- # Read in and prepare the data
- ```{r}
- ### specify directory, CHANGE TO YOUR PATH
- dir<-"/Your/path/here"
- #### read in binarized, thresholded matrix.
- ### 1 is where clustering was consistent across all subjects, 0 was inconsistent
- data_threshMat <- read.csv(paste(dir, "/threshMat.csv", sep=""), header = FALSE)
- ### get rid of diagonal and lower triangle of the binarized matrix
- diag(data_threshMat)<-0
- data_threshMat[lower.tri(data_threshMat)]<-0
- ### read in our original data and format it for our purposes
- data <- read.table(paste(dir, "/Hippo_BinxAxis_F_betas.txt", sep=""), header = TRUE)
- ### keep the top 44 clusters for cluster threshold of 10
- data<-subset(data, clust < 45)
- ## collapse over hem for each subj
- data_ag_hem<-aggregate(data[, "beta"], by=(list(data$subj, data$ax, data$bin, data$clust)), mean)
- colnames(data_ag_hem)<-c("subj","ax","bin","clust","beta")
- ```
- # Analyses using leave-one-out cross validation
- ## Selectively average ant and post separately
- ```{r}
- #### specify which clusters/rois go into each supercluster
- supercluster_1<-c(1,6,7,28,34,36,41,43)
- supercluster_2<-c(2,3,9,11,13,14,16,19,20,22,24,30,31,32,37,38,40,44)
- supercluster_3<-c(4,15,17,23,25,26,29,33,35,39)
- supercluster_4<-c(5,10)
- supercluster_5<-c(8,12,27,42)
- supercluster_6<-c(18,21)
- ### append supercluster info to our dataframe
- data_ag_hem<-mutate(data_ag_hem, supercluster = case_when(clust %in% supercluster_1 ~ 1,
- clust %in% supercluster_2 ~ 2,
- clust %in% supercluster_3 ~ 3,
- clust %in% supercluster_4 ~ 4,
- clust %in% supercluster_5 ~ 5,
- clust %in% supercluster_6 ~ 6))
- ### loop through to create a column of ages and append to our dataframe
- ages<-as.data.frame(c("00mo", "01mo", "02mo", "03mo", "04mo", "05mo", "06mo", "07mo", "08mo", "09mo", "10mo", "11mo", "12mo", "13mo", "14mo", "15mo", "16mo", "17mo", "18mo", "19mo", "20mo", "21mo", "22mo", "23mo", "24mo", "25mo", "26mo"))
- colnames(ages)<-c("age")
- for (r in 1:nrow(data_ag_hem)){
- for (a in 1:nrow(ages))
- if ((str_detect(data_ag_hem[r,"subj"], pattern = ages[a,])) ==TRUE) {
- data_ag_hem[r,"age"]<-a-1
- } else if ((str_detect(data_ag_hem[r,"subj"], pattern = "00mo"))) {
- data_ag_hem[r,"age"]<-0
- }
- }
- ### initialize some empty lists to append to later, for each supercluster
- data_sc_1<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_1)<-c("subj","bin","age","ax","superclust","beta")
- data_sc_2<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_2)<-c("subj","bin","age","ax","superclust","beta")
- data_sc_3<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_3)<-c("subj","bin","age","ax","superclust","beta")
- data_sc_4<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_4)<-c("subj","bin","age","ax","superclust","beta")
- data_sc_5<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_5)<-c("subj","bin","age","ax","superclust","beta")
- data_sc_6<-data.frame(matrix(nrow=0, ncol=6))
- colnames(data_sc_6)<-c("subj","bin","age","ax","superclust","beta")
- ### loop through matrix and when there is a 1, average the two roi hippo-cortical conn values together
- for (r in 1:nrow(data_threshMat)) {
- for (c in 1:ncol(data_threshMat)) {
- if (data_threshMat[r,c]==1){
- #print("yes")
- temp_subset<-subset(data_ag_hem, (clust==r | clust==c))
- ### average across clust
- temp_agg<-aggregate(temp_subset[, "beta"], by=(list(temp_subset$subj,temp_subset$bin, temp_subset$age, temp_subset$ax, temp_subset$supercluster)), mean)
- colnames(temp_agg)<-c("subj","bin","age","ax","superclust","beta")
- if (temp_agg[1,"superclust"]=="1") {
- data_sc_1<-rbind(data_sc_1, temp_agg)
- }
- if (temp_agg[1,"superclust"]=="2") {
- data_sc_2<-rbind(data_sc_2, temp_agg)
- }
- if (temp_agg[1,"superclust"]=="3") {
- data_sc_3<-rbind(data_sc_3, temp_agg)
- }
- if (temp_agg[1,"superclust"]=="4") {
- data_sc_4<-rbind(data_sc_4, temp_agg)
- }
- if (temp_agg[1,"superclust"]=="5") {
- data_sc_5<-rbind(data_sc_5, temp_agg)
- }
- if (temp_agg[1,"superclust"]=="6") {
- data_sc_6<-rbind(data_sc_6, temp_agg)
- }
- }
- }
- }
- ### data for each supercluster weighted by consistency across leave-one-out analysis
- data_sc_1<-aggregate(data_sc_1[, "beta"], by=(list(data_sc_1$subj, data_sc_1$bin, data_sc_1$age, data_sc_1$ax)), mean)
- colnames(data_sc_1)<-c("subj","bin","age","ax","beta")
- data_sc_1$supercluster<-1
- data_sc_2<-aggregate(data_sc_2[, "beta"], by=(list(data_sc_2$subj, data_sc_2$bin, data_sc_2$age, data_sc_2$ax)), mean)
- colnames(data_sc_2)<-c("subj","bin","age","ax","beta")
- data_sc_2$supercluster<-2
- data_sc_3<-aggregate(data_sc_3[, "beta"], by=(list(data_sc_3$subj, data_sc_3$bin, data_sc_3$age, data_sc_3$ax)), mean)
- colnames(data_sc_3)<-c("subj","bin","age","ax","beta")
- data_sc_3$supercluster<-3
- ## nothing in this one, parahippocampal. Because the ROIs were not clustered together 100% of the time.
- # data_sc_4<-aggregate(data_sc_4[, "beta"], by=(list(data_sc_4$subj, data_sc_4$bin)), mean)
- # colnames(data_sc_4)<-c("subj","bin","beta")
- # data_sc_4$supercluster<-4
- data_sc_5<-aggregate(data_sc_5[, "beta"], by=(list(data_sc_5$subj, data_sc_5$bin, data_sc_5$age, data_sc_5$ax)), mean)
- colnames(data_sc_5)<-c("subj","bin","age","ax","beta")
- data_sc_5$supercluster<-5
- data_sc_6<-aggregate(data_sc_6[, "beta"], by=(list(data_sc_6$subj, data_sc_6$bin, data_sc_6$age, data_sc_6$ax)), mean)
- colnames(data_sc_6)<-c("subj","bin","age","ax","beta")
- data_sc_6$supercluster<-6
- #data_LOO<-rbind(data_sc_1,data_sc_2,data_sc_3,data_sc_5,data_sc_6)
- data_SC_all<-rbind(data_sc_1, data_sc_2, data_sc_3, data_sc_5, data_sc_6)
- ```
- ## Omnibus test across superclusters
- ```{r}
- ### turn variables into factors
- data_SC_all$bin<-as.factor(data_SC_all$bin)
- data_SC_all$supercluster<-as.factor(data_SC_all$supercluster)
- ## model
- ### can take some time to run, can alternatively read in saved output model RDS below
- # model<-lme(beta ~ ax*bin*supercluster, random= ~1|subj, weights=varIdent(form=~1|bin*ax*supercluster), data=data_SC_all, control = lmeControl(msMaxIter=1000, msMaxEval=1000), na.action=na.omit)
- model<-readRDS('/your/path/here/mod1_weighted_ax_bin_supercluster.rda') ### CHANGE TO YOUR PATH. OR RUN ABOVE MODEL.
- ## model diagnostics
- hist(residuals(model))
- plot(model)
- ## stats
- anova(model)
- #### post hocs
- ## these are the pairwise comparisons used in the manuscript
- ## stats for 2 way interactions for each supercluster can be found next to each subplot below
- emmeans(model, list(pairwise ~ ax|bin|supercluster), adjust = "none")
- emmeans(model, list(pairwise ~ bin|ax|supercluster), adjust = "none")
- ### save the output, if desired
- # capture.output(emmeans(model, list(pairwise ~ bin|ax|supercluster), adjust = "fdr"), file="/Users/audrainsp/Library/CloudStorage/OneDrive-NationalInstitutesofHealth/BabyHippos/R_BabyHippos/GitHub/mod2_weighted_ax_bin_supercluster_emmeans1_fdr_updated.doc")
- #
- # capture.output(emmeans(model, list(pairwise ~ ax|bin|supercluster), adjust = "fdr"), file="/Users/audrainsp/Library/CloudStorage/OneDrive-NationalInstitutesofHealth/BabyHippos/R_BabyHippos/GitHub/mod2_weighted_ax_bin_supercluster_emmeans2_fdr_updated.doc")
- ```
- ## Models and Plots
- Note: images will be saved to your Downloads folder
- ### Cingulo-opercular supercluster
- ```{r, fig.height=4,fig.width=4.5}
- ## prepare the data
- data_SC<-data_sc_1 ### this is weighted averaged data across component clusters
- data_SC$bin<-as.factor(data_SC$bin)
- ## run the model
- model<-lme(beta ~ ax*bin, random= ~1|subj, weights=varIdent(form=~1|bin), data=data_SC, na.action=na.omit)
- ## model diagnostics
- # hist(residuals(model))
- # plot(model)
- # stats
- anova(model)
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/cing_operc.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#152370','#6577a1')) +
- geom_hline(yintercept=0)+
- # ggtitle("cingulo-opercular
- # supercluster")+
- labs(x="age", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ### Dorsal frontal parietal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- ## prepare the data
- data_SC<-data_sc_2 ### this is weighted averaged data across component clusters
- data_SC$bin<-as.factor(data_SC$bin)
- ## run the model
- model<-lme(beta ~ ax*bin, random= ~1|subj, data=data_SC, weights=varIdent(form=~1|bin), na.action=na.omit)
- ## model diagnostics
- hist(residuals(model))
- plot(model)
- ## stats
- anova(model)
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/dFPN.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#4bf52a','#bdf7b2')) +
- geom_hline(yintercept=0)+
- # ggtitle("dorsal frontal parietal
- # supercluster")+
- labs(x="age", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ### mPFC-STS supercluster
- ```{r, fig.height=4,fig.width=4.5}
- ## prepare the data
- data_SC<-data_sc_3 ### this is weighted averaged data across component clusters
- data_SC$bin<-as.factor(data_SC$bin)
- ## run the model
- model<-lme(beta ~ ax*bin, random= ~1|subj, weights=varIdent(form=~1|bin), data=data_SC, na.action=na.omit)
- ## model diagnostics
- # hist(residuals(model))
- # plot(model)
- ## stats
- anova(model)
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/mPFCSTS.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#f2f207','#fafab4')) +
- geom_hline(yintercept=0)+
- # ggtitle("vmPFC-STS
- # supercluster")+
- labs(x="age", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ### Medial parietal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- ## prepare the data
- data_SC<-data_sc_5 ### this is weighted averaged data across component clusters
- data_SC$bin<-as.factor(data_SC$bin)
- ## run the model
- model<-lme(beta ~ ax*bin, random= ~1|subj, weights=varIdent(form=~1|bin), data=data_SC, na.action=na.omit)
- ## model diagnostics
- # hist(residuals(model))
- # plot(model)
- ## stats
- anova(model)
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/parietal.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#fa750f','#faa666')) +
- geom_hline(yintercept=0)+
- # ggtitle("medial parietal
- # supercluster")+
- labs(x="age", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ### Entorhinal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- ## prepare the data
- data_SC<-data_sc_6 ### this is weighted averaged data across component clusters
- data_SC$bin<-as.factor(data_SC$bin)
- ## run the model
- model<-lme(beta ~ ax*bin, random= ~1|subj, weights=varIdent(form=~1|bin), data=data_SC, na.action=na.omit)
- ## model diagnostics
- # hist(residuals(model))
- # plot(model)
- ## stats
- anova(model)
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/EC.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#28fcfc','#bfffff')) +
- geom_hline(yintercept=0)+
- # ggtitle("entorhinal
- # supercluster")+
- labs(x="age", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ## LOESS plots to visualize continuous data
- Plotting anterior and posterior data separately and overlaid for best visualization
- ### Cingulo-opercular supercluster
- ```{r, fig.height=4,fig.width=4.5}
- SC_data<-subset(data_sc_1, supercluster==1 & ax=="ant")
- tiff("~/Downloads/CP_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#152370") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_1, supercluster==1 & ax=="post")
- tiff("~/Downloads/CP_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#6577a1") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ### both plots overlaid
- SC_data<-subset(data_sc_1, supercluster==1)
- tiff("~/Downloads/CP_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#152370","#6577a1"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
- ### Dorsal frontal parietal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- SC_data<-subset(data_sc_2, supercluster==2 & ax=="ant")
- tiff("~/Downloads/FPN_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#4bf52a") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_2, supercluster==2 & ax=="post")
- tiff("~/Downloads/FPN_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#a2f792") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_2, supercluster==2)
- tiff("~/Downloads/FPN_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#4bf52a","#bdf7b2"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
- ### mPFC-STS supercluster
- ```{r, fig.height=4,fig.width=4.5}
- SC_data<-subset(data_sc_3, supercluster==3 & ax=="ant")
- tiff("~/Downloads/STS_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#f2f207") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_3, supercluster==3 & ax=="post")
- tiff("~/Downloads/STS_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#fafab4") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_3, supercluster==3)
- tiff("~/Downloads/STS_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#f2f207","#fafab4"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
- ### Medial parietal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- SC_data<-subset(data_sc_5, supercluster==5 & ax=="ant")
- tiff("~/Downloads/parietal_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#fa750f") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_5, supercluster==5 & ax=="post")
- tiff("~/Downloads/parietal_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#faa666") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_5, supercluster==5)
- tiff("~/Downloads/parietal_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#fa750f","#faa666"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
- ### Entorhinal supercluster
- ```{r, fig.height=4,fig.width=4.5}
- SC_data<-subset(data_sc_6, supercluster==6 & ax=="ant")
- tiff("~/Downloads/EC_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#28fcfc") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_6, supercluster==6 & ax=="post")
- tiff("~/Downloads/EC_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#bfffff") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- SC_data<-subset(data_sc_6, supercluster==6)
- tiff("~/Downloads/EC_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(SC_data, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#28fcfc","#bfffff"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
- # Analyses without using leave-one-out cross validation
- ## Parahippocampal Supercluster
- As the parahippocampal supercluster was the only one that did not show 100% clustering consistency, we cannot do selective averaging here. So just plot the raw data to see what it looks like. This is not corrected for subject-level bias as the other superclusters are.
- ### Models and plot
- ```{r, fig.height=4,fig.width=4.5}
- ## define the parahippocampal supercluster
- data_SC<-subset(data_ag_hem, supercluster=="4")
- ## next collapse over clusters
- data_SC<-aggregate(data_SC[, "beta"], by=(list(data_SC$subj, data_SC$ax, data_SC$bin)), mean)
- colnames(data_SC)<-c("subj","ax","bin","beta")
- ## make a factor
- data_SC$bin<-as.factor(data_SC$bin)
- ## model it
- model<-lme(beta ~ ax*bin, random= ~1|subj, data=data_SC, na.action=na.omit, weights=varIdent(form=~1|bin), control = lmeControl(msMaxIter=1000, msMaxEval=1000))
- ## model diagnostics
- # hist(residuals(model))
- # plot(model)
- ## stats
- anova(model)
- ## posthocs
- emmeans(model, list(pairwise ~ ax|bin), adjust = "fdr")
- emmeans(model, list(pairwise ~ bin|ax), adjust = "fdr")
- ## summarize for plotting
- stats<-summarySE(data=data_SC, measurevar = "beta", groupvars = c("bin","ax"), na.rm=TRUE)
- stats$upper_se<-stats$beta + stats$se
- stats$lower_se<-stats$beta - stats$se
- ## plot
- tiff("~/Downloads/test.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(stats, aes(x=bin, y=beta, group=ax)) +
- geom_line(size=1, aes(linetype="solid", color=ax)) +
- geom_errorbar(width = .0, aes(ymin=lower_se, ymax=upper_se)) +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), axis.text=element_text(size=18),
- plot.title = element_text(size=26, face="bold", hjust=0.5), legend.position="bottom") +
- theme(text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_x_discrete(limits=c("1", "2", "3", "4"), labels=c("0-6", "7-12", "13-18","19-25"))+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_color_manual(values=c('#f5200c','#fc9288')) +
- geom_hline(yintercept=0)+
- # ggtitle("parahippocampal
- # supercluster")+
- labs(x="age (months)", y="connectivity", color="hippocampal axis")
- dev.off()
- ```
- ### LOESS continuous plots
- ```{r, fig.height=4,fig.width=4.5}
- ## subset
- data_SC<-subset(data_ag_hem, supercluster=="4" & ax == "ant") ## it's made up of clusters 5 and 10
- ## next collapse over clusters
- data_SC<-aggregate(data_SC[, "beta"], by=(list(data_SC$subj, data_SC$ax, data_SC$age, data_SC$supercluster)), mean)
- colnames(data_SC)<-c("subj","ax", "age", "supercluster","beta")
- ## plot
- tiff("~/Downloads/PH_1.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(data_SC, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#f5200c") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- data_SC<-subset(data_ag_hem, supercluster==4 & ax=="post")
- tiff("~/Downloads/PH_2.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(data_SC, aes(y=beta, x=age)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_point(size=2, alpha=0.7) +
- geom_smooth(method="loess", level=0.95, col="#fc9288") +
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ### both plots overlaid
- data_SC<-subset(data_ag_hem, supercluster==4)
- tiff("~/Downloads/PH_3.tiff", units="in", width=4.5, height=4, res=1000)
- ggplot(data_SC, aes(y=beta, x=age, group=ax, color=ax)) +
- geom_vline(xintercept = 6, color="grey", linetype="solid") +
- geom_vline(xintercept = 12, color="grey", linetype="solid") +
- geom_vline(xintercept = 18, color="grey", linetype="solid") +
- geom_vline(xintercept = 25, color="grey", linetype="solid") +
- geom_smooth(method="loess", level=0.95) +
- scale_color_manual(values=c("#f5200c","#fc9288"))+
- theme_classic() +
- theme(axis.title = element_text(size=24), axis.ticks.x=element_blank(), text = element_text(size = 18), axis.text.x = element_text(size=20), axis.text.y = element_text(size=22), plot.title = element_text(face="bold", hjust=0.5, size=22), legend.position="none")+
- scale_shape_manual(values=c(20))+
- guides(shape = FALSE, size = FALSE)+
- scale_y_continuous(expand = c(0, 0), limits = c(0,0.3), breaks=seq(0,0.3,.05))+
- scale_x_continuous(expand = c(0, 0), limits = c(0,26), breaks=seq(0,26,5))+
- labs(y = "connectivity (Fisher z)",
- x = "age (months)",
- title = "")
- dev.off()
- ```
R_superclusters_stats.Rmd at commit 21f7dac, under MIT · at the source
Overview
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.
saudrain/paper_BabyHippos
21f7dacbba58c0ad291fefbb39fc1221360c1c69, 8 August 2025Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
14 files
- ClustRobust.m, MATLAB, 59 lines
- R_hierarchical_clusterin
g.Rmd , R, 201 lines, 2 matches - R_superclusters_leave1ou
t.Rmd , R, 91 lines, 1 match - R_superclusters_stats.Rm
d , R, 948 lines, 3 matches - supplemental_AgeDist.Rmd
, R, 50 lines - supplemental_HemxAgeBin.
Rmd , R, 169 lines - supplemental_HemxLongAxi
s.Rmd , R, 441 lines - supplemental_HemxLongAxi
sxAgeBin.Rmd , R, 217 lines - supplemental_average_ant
postdiff_profiles.Rmd , R, 348 lines - supplemental_individual_
clust_profiles.Rmd , R, 73 lines - supplemental_plot_consis
tency_matrices.Rmd , R, 88 lines - supplemental_tSNR_analys
es.Rmd , R, 160 lines - LICENSE, License, 21 lines
- README.md, Text, 198 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;
- 12 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
- doi:10.18112/
openneuro.ds003511 , at OpenNeuro; found in the references
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: saudrain/
paper_BabyHippos
Read it in the paper: doi.org/10.1002/hbm.70475.
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 4 keywords, 12 MeSH terms, 5 funders, 59 references, 2 RRIDs.
Cite
This paper
Audrain, S., Milleville, S. C., Wilson, J. M., Baffoe‐Bonnie, J., Gotts, S. J., & Martin, A. (2026). The Development of Hippocampal-Cortical Functional Connectivity in Infants and Toddlers. Human brain mapping, 47(4), e70475. https://
BibTeX
@article{audrain2026deve
author = {Audrain, Sam and Milleville, Shawn C and Wilson, Jenna M and Baffoe‐Bonnie, Jude and Gotts, Stephen J and Martin, Alex},
title = {{The Development of Hippocampal-Cortical Functional Connectivity in Infants and Toddlers}},
journal = {Human brain mapping},
year = {2026},
month = mar,
volume = {47},
number = {4},
pages = {e70475},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/
url = {https://
pmid = {41795623},
pmcid = {PMC12967640}
}
RIS
TY - JOUR
AU - Audrain, Sam
AU - Milleville, Shawn C
AU - Wilson, Jenna M
AU - Baffoe‐Bonnie, Jude
AU - Gotts, Stephen J
AU - Martin, Alex
TI - The Development of Hippocampal-Cortical Functional Connectivity in Infants and Toddlers
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/
VL - 47
IS - 4
SP - e70475
SN - 1065-9471
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "The Development of Hippocampal-Cortical Functional Connectivity in Infants and Toddlers",
"container-title": "Human brain mapping",
"author": [
{
"family": "Audrain",
"given": "Sam"
},
{
"family": "Milleville",
"given": "Shawn C"
},
{
"family": "Wilson",
"given": "Jenna M"
},
{
"family": "Baffoe‐Bonnie",
"given": "Jude"
},
{
"family": "Gotts",
"given": "Stephen J"
},
{
"family": "Martin",
"given": "Alex"
}
],
"container-title-short":
"volume": "47",
"issue": "4",
"page": "e70475",
"DOI": "10.1002/
"PMID": "41795623",
"PMCID": "PMC12967640",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
1
]
]
}
}
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.3389/fcogn.2026.1767179 [code]
- Adult lifespan effects on functional specialization along the hippocampal long axis.Journal: Frontiers in cognitionIn common: fMRI, 8 references
- [2] doi:10.1016/j.isci.2026.116747 [code]
- Age and loneliness relate to reduced trust learning and alterations in amygdala function.Journal: iScienceIn common: nlme, car, emmeans, 3 other tools, fMRI
- [3] doi:10.1073/pnas.2606871123 [code]
- Oxytocin modulates the neurocomputational mechanisms engaged in learning rank relationships in social networks.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: nlme, car, emmeans, 3 other tools
- [4] doi:10.1111/psyp.70265 [code]
- Neurocognitive Dynamics of Translating Information From a Spatial Map Into Action.Journal: PsychophysiologyIn common: nlme, car, emmeans, 3 other tools
- [5] doi:10.1002/hbm.70526 [code]
- Resting-State and Task Functional Magnetic Resonance Imaging Network Topology Metrics With no Threshold Selection to Predict Cognition.Journal: Human brain mappingIn common: nlme, car, emmeans, 2 other tools, fMRI, 1 reference
- [6] doi:10.1162/imag.a.1204
- Sex-specific associations of gestational age at birth and birth size with early life within-network brain connectivity: An exploratory study.Journal: Imaging neuroscience (Cambridge, Mass.)In common: developmental, fMRI, 5 references
- [7] doi:10.1038/s41467-026-69950-8 [code]
- Dopaminergic processes predict temporal distortions in event memory.Journal: Nature communicationsIn common: car, emmeans, cowplot, 2 other tools, 1 reference
- [8] doi:10.1002/hbm.70605 [code]
- BrainEnrich: Revealing Biological Insights for Imaging-Derived Phenotypes Through Transcriptomic Enrichment.Journal: Human brain mappingIn common: nlme, emmeans, cowplot, 2 other tools, 1 reference
- [9] doi:10.1162/imag.a.1313 [code]
- Functional specialization of angular gyrus and precuneus subregions for perspective-guided autobiographical memory retrieval.Journal: Imaging neuroscience (Cambridge, Mass.)In common: emmeans, ggplot2, tidyverse, 3 references
- [10] doi:10.1093/braincomms/fcag318 [code]
- Antenatal maternal anaemia and infant brain structure: high-field (3 T) and ultra-low-field (64 mT) MRI findings from South Africa.Journal: Brain communicationsIn common: car, emmeans, ggplot2, 1 other tool, developmental, 1 reference
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, 12 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:7e92d83e5ee2ce9e…
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.
