Language laterality and cognitive skills: does anatomy matter?
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 8 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Methods › Cognitive battery ↔ 02_cognitive_FA_figures.R.R, lines 72 to 158 · score 0.92 · Corsi block, labyrinth navigation, topographic orientation, mental rotation, Arithmetic knowledge, Raven · block
oscr:b:0NRBQY95Q5C63-9· Report a mismatch - [2] § Methods › Cognitive battery ↔ 01_cognitive_FA_analyses.R.R, lines 41 to 107 · score 0.86 · Corsi block, topographic orientation, mental rotation, term memory, Raven, labyrinth · block
oscr:b:KE4RGTQ3885HA-6· Report a mismatch - [3] § Results › Principal components of cognitive scores ↔ 02_cognitive_FA_figures.R.R, lines 72 to 158 · score 0.86 · labyrinth navigation, mental rotation, complex mental, arithmetical facts, general cognitive function, visuospatial processing · block
oscr:b:0NRBQY95Q5C63-9· Report a mismatch - [4] § Methods › Diffusion Magnetic Resonance Imaging analysis ↔ GenerateFAvaluesCC.sh, the whole file · a weak match · score 0.74 · Binary masks, FA maps, FSL, streamlines, BCC, diffusion · block
oscr:b:0YDBGZ8F9QXQQ-0· Report a mismatch - [5] § Methods › Diffusion Magnetic Resonance Imaging analysis ↔ GenerateFAvaluesAF.sh, the whole file · a weak match · score 0.72 · Binary masks, FA maps, FSL, streamlines, diffusion, volume · block
oscr:b:1598DGK4Y3RH1-O· Report a mismatch - [6] § Results › Principal components of cognitive scores ↔ 01_cognitive_FA_analyses.R.R, lines 41 to 107 · score 0.69 · mental rotation, complex mental, arithmetical facts, Raven, labyrinth, matrices · block
oscr:b:KE4RGTQ3885HA-6· Report a mismatch - [7] § Results › Typical and atypical language lateralisation ↔ 02_cognitive_FA_figures.R.R, lines 477 to 550 · score 0.60 · GCC PC2, SCC PC1, PC scores, R2, FDR, regression · block
oscr:b:VZM8Q6QP6ATKH-9· Report a mismatch - [8] § Methods › Statistical analyses ↔ 02_cognitive_FA_figures.R.R, lines 283 to 349 · score 0.53 · strongly atypical, PC score, fitted, splenium, genu, models · block
oscr:b:Y7AXRRXS3HKDD-1· 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 · 619 lines · 18 KB · MIT · 4 matches
- ###############################################
- ## 02_cognitive_FA_figures.R
- ## Figures 2–4 and supplementary figure
- ###############################################
- ## ---------------------------
- ## Packages
- ## ---------------------------
- fig_pkgs <- c("ggplot2", "patchwork", "ggstatsplot", "MASS", "ggpubr")
- for (p in fig_pkgs) {
- if (!requireNamespace(p, quietly = TRUE)) {
- install.packages(p)
- }
- library(p, character.only = TRUE)
- }
- ## If needed:
- ## source("01_cognitive_FA_analyses.R")
- ## =====================================================
- ## FIGURE 2 – PCA scree plot + loadings
- ## =====================================================
- loadings <- results_cognitive_fancy_PCA$pc$rotation
- eigenvalues <- results_cognitive_fancy_PCA$pc$sdev^2
- explained_variance <- eigenvalues / sum(eigenvalues) * 100
- cumulative_variance <- cumsum(explained_variance)
- scree_data <- data.frame(
- PC = 1:length(eigenvalues),
- ExplainedVariance = explained_variance,
- CumulativeVariance = cumulative_variance
- )
- scree_plot <- ggplot(scree_data, aes(x = PC)) +
- geom_bar(
- aes(y = ExplainedVariance),
- stat = "identity",
- fill = "grey",
- color = "black"
- ) +
- geom_line(
- aes(y = CumulativeVariance, group = 1),
- color = "red",
- size = 1
- ) +
- geom_point(
- aes(y = CumulativeVariance),
- color = "red",
- size = 2
- ) +
- labs(
- x = "PCs",
- y = "Explained Variance (%)",
- title = "Explained Variance by PCs"
- ) +
- scale_x_continuous(
- breaks = seq(1, length(scree_data$PC), by = 1),
- labels = as.character(seq(1, length(scree_data$PC), by = 1))
- ) +
- theme_minimal() +
- theme(
- panel.grid = element_blank(),
- axis.line = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold"),
- axis.title.y = element_text(margin = margin(r = 10))
- )
- loadings_df <- as.data.frame(loadings)
- colnames(loadings_df) <- paste0("PC", 1:ncol(loadings_df))
- loadings_df$Variable <- rownames(loadings_df)
- loadings_long <- tidyr::pivot_longer(
- loadings_df,
- cols = dplyr::starts_with("PC"),
- names_to = "PC",
- values_to = "Loading"
- )
- selected_pcs <- c("PC1", "PC2", "PC3")
- loadings_long_filtered <- loadings_long %>%
- dplyr::filter(PC %in% selected_pcs)
- rename_labels <- c(
- "Vocab_extent" = "Vocabulary Range",
- "Verbal_fluency_nouns_per_item" = "Verbal Fluency Task",
- "Topographic_orientation_labyrinth_score" = "Labyrinth Navigation",
- "Non_verbal_reasoning_Ravens_matrices" = "Raven’s Matrices",
- "Mental_rotation" = "Mental Rotation Test",
- "Corsi_Block_test_visuospatial_span" = "Corsi Block Test",
- "Complex_mental_calculation_score" = "Complex Calculations",
- "Auditory_verbal_learning_recalled_words" = "Delayed Recall (Words)",
- "Arithmetical_facts_score" = "Arithmetic Knowledge"
- )
- loadings_long_filtered <- loadings_long_filtered %>%
- dplyr::mutate(Variable = rename_labels[Variable])
- desired_order <- c(
- "Vocabulary Range",
- "Verbal Fluency Task",
- "Delayed Recall (Words)",
- "Mental Rotation Test",
- "Corsi Block Test",
- "Labyrinth Navigation",
- "Raven’s Matrices",
- "Arithmetic Knowledge",
- "Complex Calculations"
- )
- loadings_long_filtered <- loadings_long_filtered %>%
- dplyr::mutate(Variable = factor(Variable, levels = rev(desired_order))) %>%
- dplyr::mutate(
- PC = factor(
- PC,
- levels = c("PC1", "PC2", "PC3"),
- labels = c(
- "PC1: Generall Cognitive Function",
- "PC2: Visuospatial Processing and Memory",
- "PC3: Mathematics"
- )
- )
- )
- loadings_plot <- ggplot(
- loadings_long_filtered,
- aes(x = Loading, y = Variable, fill = Loading > 0)
- ) +
- geom_bar(stat = "identity", color = "black", width = 0.8) +
- facet_wrap(~PC, scales = "free_x", ncol = 3) +
- scale_fill_manual(values = c("TRUE" = "black", "FALSE" = "grey")) +
- labs(
- x = "Loadings",
- y = "",
- title = "Loadings for Selected Principal Components"
- ) +
- theme_minimal() +
- theme(
- panel.grid = element_blank(),
- axis.line.y = element_line(color = "black"),
- axis.line.x = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- axis.text.y = element_text(size = 10),
- axis.text.x = element_text(size = 10),
- strip.text = element_text(size = 14, face = "bold"),
- plot.title = element_text(hjust = 0.5, size = 16, face = "bold"),
- legend.position = "none"
- )
- combined_plot_F2 <- (scree_plot | loadings_plot) +
- patchwork::plot_layout(widths = c(0.75, 2)) +
- patchwork::plot_annotation(tag_levels = "A")
- combined_plot_F2
- ## =====================================================
- ## FIGURE 4 – Cross-dominance (PC2, BCC_3)
- ## =====================================================
- PC2_crossLat <- long_data_PC_CC_FA_small_parts %>%
- dplyr::filter(CC_part == "BCC_3", Principal_Component == "PC2")
- lm_model <- lm(Value ~ Sexe + Edinburg.Score + age_IRM_Anat, data = PC2_crossLat)
- PC2_crossLat$residuals <- lm_model$residuals
- lm_crosslat <- lm(residuals ~ crossed_dominance, data = PC2_crossLat)
- anova(lm_crosslat)
- ## Posthoc grouping variable for Figure 4B
- PC2_crossLat$posthoc_cross <- ifelse(
- PC2_crossLat$crossed_dominance == "consistent",
- PC2_crossLat$laterality_frontal_0.1,
- ifelse(
- PC2_crossLat$crossed_dominance == "weak_lat" &
- PC2_crossLat$laterality_frontal_0.1 != "biLat",
- PC2_crossLat$laterality_frontal_0.1,
- ifelse(
- PC2_crossLat$crossed_dominance == "weak_lat" &
- PC2_crossLat$laterality_frontal_0.1 == "biLat",
- PC2_crossLat$laterality_temporal_0.1,
- ifelse(
- PC2_crossLat$crossed_dominance == "crossed_dominance",
- "crossed",
- NA
- )
- )
- )
- )
- lm_crosslat <- lm(residuals ~ posthoc_cross, data = PC2_crossLat)
- anova(lm_crosslat)
- filtered_data <- PC2_crossLat %>%
- dplyr::group_by(posthoc_cross) %>%
- dplyr::filter(dplyr::n() >= 3) %>%
- dplyr::ungroup()
- plot_a <- ggstatsplot::ggbetweenstats(
- data = PC2_crossLat,
- x = grouped_dominance,
- y = residuals,
- pairwise.display = "all",
- type = "parametric",
- p.adjust.method = "fdr",
- pairwise.comparisons.label = "p.signif",
- ggtheme = ggplot2::theme_classic()
- ) +
- labs(
- x = NULL,
- y = "Residuals",
- title = "Spatial Attention Skills by Cross Laterality Groups"
- ) +
- theme(
- text = element_text(size = 14, face = "bold"),
- axis.title.x = element_text(margin = margin(t = 10)),
- axis.title.y = element_text(margin = margin(r = 10)),
- plot.title = element_text(hjust = 0.5)
- ) +
- scale_x_discrete(labels = c(
- "consistent" = "Consistently lateralised",
- "crossed_dominance" = "Crossed dominance"
- )) +
- scale_fill_gradient() +
- annotate(
- "text",
- x = 2.5,
- y = max(PC2_crossLat$Value) * 0.95,
- label = "ANCOVA pFDR = 0.013",
- size = 5,
- fontface = "bold",
- color = "red",
- hjust = 1
- )
- plot_b <- ggstatsplot::ggbetweenstats(
- data = filtered_data,
- x = posthoc_cross,
- y = residuals,
- pairwise.display = "all",
- type = "parametric",
- p.adjust.method = "fdr",
- pairwise.comparisons.label = "p.signif",
- ggtheme = ggplot2::theme_classic()
- ) +
- labs(
- x = NULL,
- y = "Residuals",
- title = "Post-Hoc Analysis"
- ) +
- theme(
- text = element_text(size = 14, face = "bold"),
- axis.title.x = element_text(margin = margin(t = 10)),
- axis.title.y = element_text(margin = margin(r = 10)),
- plot.title = element_text(hjust = 0.5)
- ) +
- scale_x_discrete(labels = c(
- "crossed" = "Crossed dominance",
- "leftLat" = "Left-leaning",
- "rightLat" = "Right-leaning"
- )) +
- scale_fill_gradient()
- combined_plot_F4 <- (plot_a | plot_b) +
- patchwork::plot_annotation(tag_levels = "A") +
- theme(plot.tag = element_text(size = 14, face = "bold"))
- combined_plot_F4
- ggplot2::ggsave(
- filename = "/Volumes/LaCie/iMac/Documents/Liverpool/Thesis/Official_Writing/Chapter_9_(cognitive)/Paper_draft2/Preprint/Figure4.tiff",
- plot = combined_plot_F4,
- width = 378,
- height = 193,
- units = "mm",
- dpi = 600,
- compression = "lzw"
- )
- ## =====================================================
- ## FIGURE 3 – Regression plots (Splenium PC1, Genu PC2)
- ## =====================================================
- # Splenium: SCC_3, PC1, Strong-Atypical
- Regression_SCC_PC1 <- long_data_PC_CC_FA_small_parts %>%
- dplyr::filter(
- CC_part == "SCC_3",
- Principal_Component == "PC1",
- laterality == "Strong-Atypical"
- )
- lm_model_a <- lm(Value ~ Sexe + age_IRM_Anat, data = Regression_SCC_PC1)
- Regression_SCC_PC1$residuals_a <- residuals(lm_model_a)
- lm_model_b <- lm(Value ~ Sexe + age_IRM_Anat + Edinburg.Score, data = Regression_SCC_PC1)
- Regression_SCC_PC1$residuals_b <- residuals(lm_model_b)
- lm_model_c <- lm(Value ~ mean, data = Regression_SCC_PC1)
- new_data <- data.frame(
- mean = seq(min(Regression_SCC_PC1$mean), max(Regression_SCC_PC1$mean), length.out = nrow(Regression_SCC_PC1)),
- Sexe = "F",
- age_IRM_Anat = mean(Regression_SCC_PC1$age_IRM_Anat, na.rm = TRUE),
- Edinburg.Score = mean(Regression_SCC_PC1$Edinburg.Score, na.rm = TRUE)
- )
- predictions_a <- predict(lm_model_a, newdata = new_data, interval = "confidence")
- new_data$predicted_a <- predictions_a[, "fit"]
- new_data$lower_ci_a <- predictions_a[, "lwr"]
- new_data$upper_ci_a <- predictions_a[, "upr"]
- predictions_b <- predict(lm_model_b, newdata = new_data, interval = "confidence")
- new_data$predicted_b <- predictions_b[, "fit"]
- new_data$lower_ci_b <- predictions_b[, "lwr"]
- new_data$upper_ci_b <- predictions_b[, "upr"]
- plot_aS <- ggplot(Regression_SCC_PC1, aes(x = mean, y = residuals_a)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Splenium vs General Cognitive Function\n(Adjusted for Age and Sex)",
- x = "Mean FA (Splenium)",
- y = "Working Memory PC Score"
- ) +
- annotate(
- "text",
- x = 0.64,
- y = -1,
- label = paste0("R² = -0.93", "\nP = 0.002", "\npFDR = 0.035"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- plot_bS <- ggplot(Regression_SCC_PC1, aes(x = mean, y = residuals_b)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Splenium vs General Cognitive Function\n(Adjusted for Age, Sex and Handedness)",
- x = "Mean FA (Splenium)",
- y = "Working Memory PC Score"
- ) +
- annotate(
- "text",
- x = 0.64,
- y = -1,
- label = paste0("R² = -0.94", "\nP = 0.004", "\npFDR = 0.062"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- plot_cS <- ggplot(Regression_SCC_PC1, aes(x = mean, y = Value)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Splenium vs General Cognitive Function\n(No Covariates)",
- x = "Mean FA (Splenium)",
- y = "Working Memory PC Score"
- ) +
- annotate(
- "text",
- x = 0.64,
- y = -1,
- label = paste0("R² = -0.36", "\nP = 0.0529", "\npFDR = 0.69"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- # Genu: GCC_3, PC2, Strong-Atypical
- Regression_GCC_PC2 <- long_data_PC_CC_FA_small_parts %>%
- dplyr::filter(
- CC_part == "GCC_3",
- Principal_Component == "PC2",
- laterality == "Strong-Atypical"
- )
- lm_model_a <- lm(Value ~ Sexe + age_IRM_Anat, data = Regression_GCC_PC2)
- Regression_GCC_PC2$residuals_a <- residuals(lm_model_a)
- lm_model_b <- lm(Value ~ Sexe + age_IRM_Anat + Edinburg.Score, data = Regression_GCC_PC2)
- Regression_GCC_PC2$residuals_b <- residuals(lm_model_b)
- lm_model_c <- lm(Value ~ mean, data = Regression_GCC_PC2)
- new_data <- data.frame(
- mean = seq(min(Regression_GCC_PC2$mean), max(Regression_GCC_PC2$mean), length.out = nrow(Regression_GCC_PC2)),
- Sexe = "F",
- age_IRM_Anat = mean(Regression_GCC_PC2$age_IRM_Anat, na.rm = TRUE),
- Edinburg.Score = mean(Regression_GCC_PC2$Edinburg.Score, na.rm = TRUE)
- )
- predictions_a <- predict(lm_model_a, newdata = new_data, interval = "confidence")
- new_data$predicted_a <- predictions_a[, "fit"]
- new_data$lower_ci_a <- predictions_a[, "lwr"]
- new_data$upper_ci_a <- predictions_a[, "upr"]
- predictions_b <- predict(lm_model_b, newdata = new_data, interval = "confidence")
- new_data$predicted_b <- predictions_b[, "fit"]
- new_data$lower_ci_b <- predictions_b[, "lwr"]
- new_data$upper_ci_b <- predictions_b[, "upr"]
- plot_aG <- ggplot(Regression_GCC_PC2, aes(x = mean, y = residuals_a)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Genu vs Spatial Attention\n(Adjusted for Age and Sex)",
- x = "Mean FA (Genu)",
- y = "Spatial Attention PC Score"
- ) +
- annotate(
- "text",
- x = max(Regression_GCC_PC2$mean) * 0.99,
- y = -1,
- label = paste0("R² = 0.87", "\nP = 0.0009", "\npFDR = 0.04"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- plot_bG <- ggplot(Regression_GCC_PC2, aes(x = mean, y = residuals_b)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Genu vs Spatial Attention\n(Adjusted for Age, Sex, Handedness)",
- x = "Mean FA (Genu)",
- y = "Spatial Attention PC Score)"
- ) +
- annotate(
- "text",
- x = max(Regression_GCC_PC2$mean) * 0.99,
- y = -1,
- label = paste0("R² = 0.86", "\nP = 0.006", "\npFDR = 0.06"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- plot_cG <- ggplot(Regression_GCC_PC2, aes(x = mean, y = Value)) +
- geom_point(size = 3, colour = "darkblue") +
- stat_smooth(
- method = "lm",
- formula = y ~ x,
- se = TRUE,
- colour = "red",
- fill = "pink",
- linetype = "dashed",
- size = 1
- ) +
- labs(
- title = "Mean FA in Genu vs Spatial Attention\n(No Covariates)",
- x = "Mean FA (Genu)",
- y = "Spatial Attention PC Score"
- ) +
- annotate(
- "text",
- x = max(Regression_GCC_PC2$mean) * 0.99,
- y = -1,
- label = paste0("R² = 0.54", "\nP = 0.01", "\npFDR = 0.438"),
- size = 5,
- hjust = 1,
- colour = "black"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold")
- )
- combined_plot_F3 <- (plot_aS | plot_bS) /
- (plot_aG | plot_bG) +
- patchwork::plot_annotation(tag_levels = "A")
- combined_plot_F3
- ## =====================================================
- ## SUPPLEMENTARY FIGURE – regression plots by laterality
- ## =====================================================
- Regression_SCC_PC1_all <- long_data_PC_CC_FA_small_parts %>%
- dplyr::filter(CC_part == "SCC_3", Principal_Component == "PC1")
- compute_residuals_by_group <- function(data, formula) {
- data %>%
- dplyr::group_by(laterality) %>%
- dplyr::mutate(residuals = residuals(lm(formula, data = dplyr::cur_data_all()))) %>%
- dplyr::ungroup()
- }
- data_age_sex <- compute_residuals_by_group(
- Regression_SCC_PC1_all,
- Value ~ Sexe + age_IRM_Anat
- )
- plot_a_PC1_lat <- ggplot(data_age_sex, aes(x = mean, y = residuals, colour = laterality)) +
- geom_point(size = 3, alpha = 0.7) +
- geom_smooth(
- method = "lm",
- aes(fill = laterality),
- alpha = 0.2,
- se = TRUE
- ) +
- scale_color_brewer(palette = "Set1", name = "Laterality Group") +
- scale_fill_brewer(palette = "Set1", name = "Laterality Group") +
- labs(
- title = "Working Memory vs Mean FA in Splenium\n (Age, Sex)",
- x = "Mean FA (Splenium)",
- y = "Residuals (Working Memory PC)"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold"),
- legend.position = "top"
- )
- Regression_GCC_PC2_all <- long_data_PC_CC_FA_small_parts %>%
- dplyr::filter(CC_part == "GCC_3", Principal_Component == "PC2")
- data_age_sex_GCC <- Regression_GCC_PC2_all %>%
- dplyr::group_by(laterality) %>%
- dplyr::mutate(residuals = residuals(lm(Value ~ Sexe + age_IRM_Anat, data = dplyr::cur_data_all()))) %>%
- dplyr::ungroup()
- plot_a_PC2_lat <- ggplot(data_age_sex_GCC, aes(x = mean, y = residuals, colour = laterality)) +
- geom_point(size = 3, alpha = 0.7) +
- geom_smooth(
- method = "lm",
- aes(fill = laterality),
- alpha = 0.2,
- se = TRUE
- ) +
- scale_color_brewer(palette = "Set1", name = "Laterality Group") +
- scale_fill_brewer(palette = "Set1", name = "Laterality Group") +
- labs(
- title = "Spatial Attention vs Mean FA in Genu\n(Age, Sex)",
- x = "Mean FA (Genu)",
- y = "Residuals (Spatial Attention PC)"
- ) +
- theme_classic() +
- theme(
- text = element_text(size = 14),
- plot.title = element_text(hjust = 0.5, face = "bold"),
- legend.position = "top"
- )
- combined_plot_supp <- (plot_a_PC1_lat | plot_a_PC2_lat) +
- patchwork::plot_annotation(tag_levels = "A")
- combined_plot_supp
02_cognitive_FA_figures.R.R at commit 0a03324, under MIT · at the source
Overview
- The BRAIN Lab, Department of Pharmacology and Therapeutics, Institute of Systems, Molecular and Integrative Biology, University of Liverpool, William Henry Duncan Building, 6 West Derby Street, Liverpool, L7 8TX, United Kingdom
- Groupe d'Imagerie Neurofonctionnelle, Institut des Maladies Neurodégénératives, UMR5293, CNRS - CEA – Université de Bordeaux, Bordeaux F-33000, France
- Department of Psychological Sciences, Institute of Population Health, University of Liverpool, Eleanor Rathbone Building, Bedford Street South, Liverpool, L69 7ZA, United Kingdom
- Sherbrooke Connectivity and Imaging Lab (SCIL), Faculté des Sciences, Université de Sherbrooke, 2500 Bd. de l’Université, Sherbrooke, J1K2R1, QC, Canada
- IRP OpTeam, Neurodegeneratives Diseases Institute, UMR 5293, Team 5 - CEA - CNRS - Université de Bordeaux, France and Université de Sherbrooke, Canada
Abstract
Brain anatomy, particularly white matter microstructure, is thought to play a critical role in the relationships between cognitive function and language lateralisation. This study investigates whether white matter microstructural parameters of the arcuate fasciculus and corpus callosum is associated with cognitive performance across distinct language lateralisation groups. Neuroimaging and cognitive data from 279 healthy adults were sourced from the BIL&
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 8 matches between paragraphs and lines of code.
andrulyte/language-laterality-cognition
0a03324e928a0f1d66134e773c48bf566c5926db, 14 December 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- 01_cognitive_FA_analyses
.R.R , R, 589 lines, 2 matches - 02_cognitive_FA_figures.
R.R , R, 619 lines, 4 matches - ComputeCentroids.sh, Shell, 110 lines
- GenerateFAvaluesAF.sh, Shell, 71 lines, 1 match
- GenerateFAvaluesCC.sh, Shell, 46 lines, 1 match
- PCA_function.r, R, 107 lines
- LICENSE, License, 21 lines
- README.md, Text, 52 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;
- 6 scripts, each with its path and the digest of its content;
- 8 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
All analysis scripts used in the present study are openly 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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 6 keywords, 17 MeSH terms, 2 funders, 98 references.
Cite
This paper
Andrulyte, I., Zago, L., Jobard, G., Lemaitre, H., Branzi, F. M., Rheault, F., Petit, L., & Keller, S. S. (2026). Language laterality and cognitive skills: does anatomy matter? Cerebral cortex (New York, N.Y. : 1991), 36(6), bhag067. https://
BibTeX
@article{andrulyte2026la
author = {Andrulyte, Ieva and Zago, Laure and Jobard, Gael and Lemaitre, Herve and Branzi, Francesca M and Rheault, Francois and Petit, Laurent and Keller, Simon S},
title = {{Language laterality and cognitive skills: does anatomy matter?
journal = {Cerebral cortex (New York, N.Y. : 1991)},
year = {2026},
month = jun,
volume = {36},
number = {6},
pages = {bhag067},
publisher = {Oxford University Press},
issn = {1047-3211},
doi = {10.1093/
url = {https://
pmid = {42348842},
pmcid = {PMC13298645}
}
RIS
TY - JOUR
AU - Andrulyte, Ieva
AU - Zago, Laure
AU - Jobard, Gael
AU - Lemaitre, Herve
AU - Branzi, Francesca M
AU - Rheault, Francois
AU - Petit, Laurent
AU - Keller, Simon S
TI - Language laterality and cognitive skills: does anatomy matter?
T2 - Cerebral cortex (New York, N.Y. : 1991)
J2 - Cereb Cortex
PY - 2026
DA - 2026/
VL - 36
IS - 6
SP - bhag067
SN - 1047-3211
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Language laterality and cognitive skills: does anatomy matter?
"container-title": "Cerebral cortex (New York, N.Y. : 1991)",
"author": [
{
"family": "Andrulyte",
"given": "Ieva"
},
{
"family": "Zago",
"given": "Laure"
},
{
"family": "Jobard",
"given": "Gael"
},
{
"family": "Lemaitre",
"given": "Herve"
},
{
"family": "Branzi",
"given": "Francesca M"
},
{
"family": "Rheault",
"given": "Francois"
},
{
"family": "Petit",
"given": "Laurent"
},
{
"family": "Keller",
"given": "Simon S"
}
],
"container-title-short":
"volume": "36",
"issue": "6",
"page": "bhag067",
"DOI": "10.1093/
"PMID": "42348842",
"PMCID": "PMC13298645",
"ISSN": "1047-3211",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
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.1093/braincomms/fcag009 [code]
- Does white matter structure relate to hemispheric language lateralization? A systematic review.Journal: Brain communicationsIn common: patchwork, ggplot2, tidyverse, structural MRI / diffusion, cognitive, 13 references, 3 authors
- [2] doi:10.1162/nol_a_00153
- Intrahemispheric White Matter Asymmetries and Interhemispheric Connections Underlying the Lateralization of Language Production and Spatial Attention in Left-Handers.Journal: Neurobiology of language (Cambridge, Mass.)In common: cognitive, 22 references
- [3] doi:10.1162/imag.a.1240
- Hemispheric consistency in language production, comprehension, and reading in typically and atypically lateralized left-handers: Implications for reading performance.Journal: Imaging neuroscience (Cambridge, Mass.)In common: cognitive, 19 references
- [4] doi:10.1038/s41467-023-39131-y [code]
- Language network lateralization is reflected throughout the macroscale functional organization of cortex.Journal: Nature communicationsIn common: ggplot2, tidyverse, cognitive, 17 references
- [5] doi:10.1162/nol_a_00167 [code]
- Exploring the Relationship Between White Matter Tracts and Resting-State Functional Language Lateralization Index.Journal: Neurobiology of language (Cambridge, Mass.)In common: ggplot2, tidyverse, structural MRI / diffusion, cognitive, 12 references, author Francois Rheault
- [6] doi:10.1038/s42003-025-08774-6 [code]
- Anatomical insights into the superior longitudinal system from integrative in- vivo and ex-vivo mapping.Journal: Communications biologyIn common: FSL, structural MRI / diffusion, 7 references, 2 authors
- [7] doi:10.1162/imag_a_00208 [code]
- Atlas for the Lateralized Visuospatial Attention Networks (ALANs): Insights from fMRI and network analyses.Journal: Imaging neuroscience (Cambridge, Mass.)In common: ggplot2, tidyverse, 6 references, 2 authors
- [8] doi:10.1162/imag_a_00437 [code]
- Evidence for a compensatory relationship between left- and right-lateralized brain networks.Journal: Imaging neuroscience (Cambridge, Mass.)In common: broom, FSL, tidyverse, 9 references
- [9] doi:10.1162/imag.a.63 [code]
- When age tips the balance: A dual mechanism affecting hemispheric specialization for language.Journal: Imaging neuroscience (Cambridge, Mass.)In common: broom, ggplot2, tidyverse, cognitive, 8 references
- [10] doi:10.7554/elife.86797
- What happens to the inhibitory control functions of the right inferior frontal cortex when this area is dominant for language?Journal: eLifeIn common: cognitive, 10 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, 6 scripts, and 8 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:4e86d2f1b3c8f6b1…
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.1093/cercor/bhag067)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1093/cercor/bhag067.svg
:target: https://openscicode.org/badge/doi/10.1093/cercor/bhag067
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/cercor/bhag067"><img src="https://openscicode.org/badge/doi/10.1093/cercor/bhag067.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
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)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
