Prenatal acoustic communication triggers adaptive vascular programming in the developing avian brain.
10 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 14 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
- [1] § MATERIALS AND METHODS › Isoform switch analysis ↔ scripts/splicing_isoform_switch_pipeline.R, lines 131 to 173 · score 0.89 · analyzeAlternativeSplicing, single isoform genes, isoform switching, splice isoform, DEXSeq, FASTA · block
oscr:b:W7MC3ZW7FA2DE-D· Report a mismatch - [2] § MATERIALS AND METHODS › Weighted gene co-expression network analysis ↔ scripts/WGCNA_Analysis.R, lines 389 to 440 · score 0.82 · adjacency matrix, Kamada Kawai, kWithin, hub genes, green module, ggraph · block
oscr:b:TVVTGZZFHY249-D· Report a mismatch - [3] § MATERIALS AND METHODS › Weighted gene co-expression network analysis ↔ scripts/WGCNA_Analysis.R, lines 85 to 124 · score 0.78 · soft thresholding, scale free topology, Networking construction, fit, connectivity, power · block
oscr:b:6ZS6YFKQJ006R-Q· Report a mismatch - [4] § MATERIALS AND METHODS › Weighted gene co-expression network analysis ↔ scripts/WGCNA_Analysis.R, lines 196 to 260 · score 0.75 · module trait relationships, module assignments, module eigengenes, Student, heatmap, enrichment · block
oscr:b:M9B48QVG1HVH2-Y· Report a mismatch - [5] § MATERIALS AND METHODS › RNA extraction, sequencing and statistical analysis ↔ scripts/WGCNA_Analysis.R, lines 42 to 83 · score 0.73 · variance stabilization transformed, Quality control, DESeq2, VST, Sex, genes · block
oscr:b:K3RB6SHYWCGEB-M· Report a mismatch - [6] § RESULTS › Heat call exposure alters isoform usage in contractile genes ↔ scripts/splicing_isoform_switch_pipeline.R, lines 131 to 173 · score 0.68 · single isoform gene, isoform switch, alternative splice, gene expression, filtering, Seq · block
oscr:b:W7MC3ZW7FA2DE-D· Report a mismatch - [7] § RESULTS › Vascular gene expression changes localize to cerebrovascular cell types ↔ scripts/WGCNA_Analysis.R, lines 442 to 528 · score 0.67 · HYPOMAP cell, strong enrichment, FDR corrected, module genes, hypergeometric, Heatmap · block
oscr:b:JWGQD04E4WK5K-Y· Report a mismatch - [8] § MATERIALS AND METHODS › RNA extraction, sequencing and statistical analysis ↔ scripts/WGCNA_Analysis.R, lines 442 to 528 · score 0.66 · background gene, gene symbols, hypergeometric, overlapping, FDR, enrichment · block
oscr:b:JWGQD04E4WK5K-Y· Report a mismatch - [9] § RESULTS › Co-expression network analysis reveals coordinated vascular gene regulation ↔ scripts/WGCNA_Analysis.R, lines 287 to 331 · score 0.64 · intramodular connectivity, kWithin, hub genes, module genes, adjacency, WGCNA · block
oscr:b:BHH1B7JQYYAT4-H· Report a mismatch - [10] § RESULTS › Co-expression network analysis reveals coordinated vascular gene regulation ↔ scripts/WGCNA_Analysis.R, lines 287 to 331 · score 0.62 · Intramodular connectivity, kWithin, hub genes, GO, adjacency, modules · block
oscr:b:BHH1B7JQYYAT4-H· Report a mismatch - [11] § MATERIALS AND METHODS › RNA extraction, sequencing and statistical analysis ↔ scripts/global_rnaseq_deseq2_pipeline.R, lines 305 to 380 · score 0.61 · Principal component, RNA Seq, PCA, females, VST, variance · block
oscr:b:GT7H2WVSWD5Q8-1· Report a mismatch - [12] § MATERIALS AND METHODS › Deconvolution analysis ↔ scripts/hypomap_run_cibersortx_hires.sh, the whole file · a weak match · score 0.59 · custom signature matrix, CIBERSORTx, mixture, HYPOMAP · block
oscr:b:3JVCG1HAVZS7R-F· Report a mismatch - [13] § MATERIALS AND METHODS › RNA extraction, sequencing and statistical analysis ↔ scripts/global_rnaseq_deseq2_pipeline.R, lines 159 to 223 · score 0.58 · likelihood ratio, DESeq2, shrinkage, apeglm, model, sex · block
oscr:b:P16R9ZDFDMDJW-3· Report a mismatch - [14] § RESULTS › Co-expression network analysis reveals coordinated vascular gene regulation ↔ scripts/WGCNA_Analysis.R, lines 196 to 260 · score 0.54 · Module trait relationships, module eigengenes, Student, Heatmap, WGCNA, network · block
oscr:b:M9B48QVG1HVH2-Y· 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 · 528 lines · 17 KB · MIT · 9 matches
- # Setup and Data Preparation
- # Set working directory (change as appropriate)
- setwd("your/working/directory")
- # Load required packages
- library(WGCNA)
- library(rtracklayer)
- library(dplyr)
- library(ggplot2)
- library(clusterProfiler)
- library(pheatmap)
- library(DESeq2) # For VST normalization
- # Avoid factor conversion issues
- options(stringsAsFactors = FALSE)
- # Increase memory limit for large datasets
- options(future.globals.maxSize = 250000 * 1024^2)
- # Step 1: Prepare gene length data from GFF annotation
- my_tags <- c("Name", "Dbxref", "gene")
- my_columns <- c("seqid", "start", "end", "strand", "type")
- my_filter <- list(type = "gene")
- dat <- readGFF("GCF_003957565.2_bTaeGut1.4.pri_genomic.gff",
- tags = my_tags,
- columns = my_columns,
- filter = my_filter)
- dat$gene_name <- dat$gene
- dat$interval_start <- dat$start
- dat$interval_stop <- dat$end
- dat_1 <- as.data.frame(dat)
- all_data_from_dat <- dplyr::select(dat_1, gene_name, start, end)
- # Calculate gene length as end - start - 1
- all_data_from_dat$geneLength <- (all_data_from_dat$end - all_data_from_dat$start) - 1
- gene_name_length <- dplyr::select(all_data_from_dat, gene_name, geneLength)
- # Step 2: Read and process raw gene counts data
- data0_csv <- read.csv("WGCNA_gene_count_7_June_2023.csv", header = TRUE)
- # Rename first column for merging
- colnames(data0_csv)[1] <- "gene_name"
- # Merge gene length data with counts (geneLength retained for reference)
- data0 <- merge(data0_csv, gene_name_length, by = "gene_name", all.x = TRUE)
- # Set rownames as gene names and remove gene_name column
- colnames(data0)[1] <- ""
- rownames(data0) <- data0[, 1]
- data0 <- data0[, -1]
- # Convert numeric columns to integer counts (raw counts)
- data0[] <- lapply(data0, function(x) if(is.numeric(x)) as.integer(x) else x)
- # Step 3: Load sample metadata
- sample_metadata <- read.csv(file = "WGCNA_Heat_Call_Experimental_Design.csv")
- colnames(sample_metadata) <- c('sample_ID', 'Sex', 'Condition')
- rownames(sample_metadata) <- sample_metadata$sample_ID
- # Normalization and Quality Control
- # Step 4: Normalize raw counts using DESeq2 VST (Variance Stabilizing Transformation)
- # Remove geneLength column before normalization
- counts_for_norm <- data0[, !colnames(data0) %in% "geneLength"]
- # Ensure sample names match exactly between counts and metadata
- stopifnot(setequal(colnames(counts_for_norm), rownames(sample_metadata)))
- # Create DESeq2 dataset (design ~1 for normalization only)
- dds <- DESeqDataSetFromMatrix(countData = counts_for_norm,
- colData = sample_metadata,
- design = ~ 1)
- # Apply variance stabilizing transformation (blind = TRUE)
- vsd <- vst(dds, blind = TRUE)
- # Extract normalized expression matrix and transpose for WGCNA
- datExpr <- assay(vsd)
- datExpr <- t(datExpr)
- # Step 5: Sample Quality Control with Outlier Detection
- sampleTree <- hclust(dist(datExpr), method = "average")
- pdf("sample_clustering_outliers.pdf", width = 12, height = 6)
- plot(sampleTree, main = "Sample Clustering for Outlier Detection")
- dev.off()
- # Optional: Remove outliers identified visually
- # outlier_samples <- c("Sample1", "Sample2")
- # datExpr <- datExpr[!rownames(datExpr) %in% outlier_samples, ]
- # Network Construction and Module Detection
- # Step 6: Soft Threshold Diagnostics for Network Construction
- powers <- c(1:20, seq(22, 30, 2))
- # Disable parallel processing to avoid forking issues
- disableWGCNAThreads()
- sft <- pickSoftThreshold(
- datExpr,
- powerVector = powers,
- verbose = 5,
- networkType = "signed",
- blockSize = ncol(datExpr)
- )
- pdf("soft_threshold_diagnostics.pdf", width = 10, height = 5)
- par(mfrow = c(1, 2))
- plot(sft$fitIndices[, 1], -sign(sft$fitIndices[, 3]) * sft$fitIndices[, 2],
- xlab = "Soft Threshold (power)", ylab = "Scale Free Topology Fit (R²)",
- main = "Scale Independence", type = "n")
- text(sft$fitIndices[, 1], -sign(sft$fitIndices[, 3]) * sft$fitIndices[, 2],
- labels = powers, col = "red")
- abline(h = 0.85, col = "red", lty = 2)
- plot(sft$fitIndices[, 1], sft$fitIndices[, 5],
- xlab = "Soft Threshold (power)", ylab = "Mean Connectivity",
- main = "Mean Connectivity", type = "n")
- text(sft$fitIndices[, 1], sft$fitIndices[, 5], labels = powers, col = "red")
- dev.off()
- # Select optimal power
- if (is.na(sft$powerEstimate)) {
- optimal_power <- sft$fitIndices$Power[which.max(sft$fitIndices$SFT.R.sq)]
- message("No power reached R² > 0.85. Using max R² at power: ", optimal_power)
- } else {
- optimal_power <- sft$powerEstimate
- }
- save.image("06_July_2025_Pre_Parameter.Rdata")
- # Step 7: Parameter Sensitivity Analysis for Module Detection
- parameter_grid <- expand.grid(
- minModuleSize = c(20, 30, 40),
- mergeCutHeight = c(0.15, 0.25, 0.35)
- )
- module_results <- list()
- for (i in 1:nrow(parameter_grid)) {
- params <- parameter_grid[i, ]
- assign("cor", WGCNA::cor, envir = .GlobalEnv)
- net <- blockwiseModules(
- datExpr,
- power = optimal_power,
- TOMType = "signed",
- minModuleSize = params$minModuleSize,
- mergeCutHeight = params$mergeCutHeight,
- numericLabels = TRUE,
- saveTOMs = FALSE,
- verbose = 3
- )
- assign("cor", stats::cor, envir = .GlobalEnv)
- module_results[[i]] <- list(
- params = params,
- n_modules = length(unique(net$colors)),
- module_sizes = table(net$colors)
- )
- mergedColors <- labels2colors(net$colors)
- pdf(paste0("module_dendrogram_minSize", params$minModuleSize,
- "_mergeCut", params$mergeCutHeight, ".pdf"),
- width = 10, height = 6)
- plotDendroAndColors(net$dendrograms[[1]], mergedColors[net$blockGenes[[1]]],
- "Module colors", dendroLabels = FALSE)
- dev.off()
- }
- parameter_summary <- do.call(rbind, lapply(module_results, function(x) {
- data.frame(
- minModuleSize = x$params$minModuleSize,
- mergeCutHeight = x$params$mergeCutHeight,
- n_modules = x$n_modules,
- min_module_size = min(x$module_sizes),
- max_module_size = max(x$module_sizes)
- )
- }))
- print(parameter_summary)
- final_params <- list(
- minModuleSize = 30,
- mergeCutHeight = 0.25
- )
- save.image("06_July_2025_pre_network_WGCNA.RData")
- # Step 8: Final Network Construction
- enableWGCNAThreads(nThreads = 20)
- assign("cor", WGCNA::cor, envir = .GlobalEnv)
- net <- blockwiseModules(
- datExpr,
- power = optimal_power,
- TOMType = "signed",
- minModuleSize = final_params$minModuleSize,
- mergeCutHeight = final_params$mergeCutHeight,
- numericLabels = TRUE,
- saveTOMs = TRUE,
- saveTOMFileBase = "network_TOM",
- verbose = 3,
- maxBlockSize = 10000
- )
- assign("cor", stats::cor, envir = .GlobalEnv)
- moduleColors <- labels2colors(net$colors)
- write.csv(data.frame(Gene = colnames(datExpr), Module = moduleColors),
- "final_module_assignments.csv", row.names = FALSE)
- pdf("final_module_dendrogram.pdf", width = 15, height = 10)
- plotDendroAndColors(net$dendrograms[[1]], moduleColors[net$blockGenes[[1]]],
- "Module colors", dendroLabels = FALSE)
- dev.off()
- save.image("06_July_2025_post_network_WGCNA.RData")
- #Module-Trait Relationships
- # Step 9: Module-Trait Relationships
- traits <- sample_metadata[rownames(datExpr), c("Sex", "Condition")]
- traits$Sex <- as.numeric(factor(traits$Sex))
- traits$Condition <- as.numeric(factor(traits$Condition))
- MEs <- moduleEigengenes(datExpr, moduleColors)$eigengenes
- moduleTraitCor <- cor(MEs, traits, use = "p")
- moduleTraitPvalue <- corPvalueStudent(moduleTraitCor, nrow(datExpr))
- pdf("module_trait_relationships.pdf", width = 10, height = 8)
- textMatrix <- paste(signif(moduleTraitCor, 2), "\n(",
- signif(moduleTraitPvalue, 1), ")", sep = "")
- dim(textMatrix) <- dim(moduleTraitCor)
- par(mar = c(6, 8.5, 3, 3))
- labeledHeatmap(Matrix = moduleTraitCor,
- xLabels = names(traits),
- yLabels = names(MEs),
- ySymbols = names(MEs),
- colorLabels = FALSE,
- colors = blueWhiteRed(50),
- textMatrix = textMatrix,
- setStdMargins = FALSE,
- cex.text = 0.5,
- zlim = c(-1, 1),
- main = "Module-Trait Relationships")
- dev.off()
- # Gene Ontology Enrichment
- library(org.Gg.eg.db, lib.loc = "/project/cugbf/software/R/4.4.1/library")
- module_genes <- split(colnames(datExpr), moduleColors)
- perform_GO_analysis <- function(module_name, genes) {
- if (length(genes) < 10) {
- message("Skipping GO for ", module_name, " (only ", length(genes), " genes)")
- return(NULL)
- }
- genes_entrez <- bitr(genes, fromType = "SYMBOL", toType = "ENTREZID",
- OrgDb = org.Gg.eg.db, drop = TRUE)
- if (nrow(genes_entrez) < 5) {
- message("Skipping GO for ", module_name, " (only ", nrow(genes_entrez), " ENTREZ IDs)")
- return(NULL)
- }
- enrichGO(
- gene = genes_entrez$ENTREZID,
- OrgDb = org.Gg.eg.db,
- keyType = "ENTREZID",
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.2
- )
- }
- go_results <- lapply(names(module_genes), function(module) {
- result <- tryCatch({
- perform_GO_analysis(module, module_genes[[module]])
- }, error = function(e) {
- message("GO failed for ", module, ": ", conditionMessage(e))
- return(NULL)
- })
- if (!is.null(result) && nrow(result) > 0) {
- pdf(paste0("GO_enrichment_", module, ".pdf"), width = 10, height = 8)
- print(barplot(result, showCategory = 20, title = paste("GO Enrichment -", module)))
- dev.off()
- }
- return(result)
- })
- names(go_results) <- names(module_genes)
- saveRDS(go_results, "06_July_2025_go_enrichment_results.rds")
- # Hub Gene Identification and Validation
- ADJ <- adjacency(datExpr, power = optimal_power, type = "signed")
- kIN <- intramodularConnectivity(ADJ, moduleColors, scaleByMax = TRUE)
- hub_genes <- lapply(unique(moduleColors), function(mod) {
- modGenes <- (moduleColors == mod)
- kIN_mod <- kIN[modGenes, ]
- head(kIN_mod[order(kIN_mod$kWithin, decreasing = TRUE), ], 10)
- })
- names(hub_genes) <- unique(moduleColors)
- saveRDS(hub_genes, "hub_genes_per_module.rds")
- pdf("hub_gene_validation.pdf", width = 12, height = 8)
- for (mod in names(hub_genes)) {
- top_gene <- rownames(hub_genes[[mod]])[1]
- plot(datExpr[, top_gene],
- MEs[, paste0("ME", mod)],
- main = paste("Hub Gene Validation -", mod),
- xlab = top_gene,
- ylab = "Module Eigengene")
- }
- dev.off()
- save.image("07_july_2025_WGCNA_analysis_final.RData")
- # Network Visualization
- library(igraph)
- library(ggraph)
- library(tidygraph)
- library(dplyr)
- library(ggplot2)
- module_of_interest <- "green"
- module_genes <- colnames(datExpr)[moduleColors == module_of_interest]
- ADJ <- adjacency(datExpr, power = optimal_power, type = "signed")
- module_adj <- ADJ[module_genes, module_genes]
- edge_threshold <- 0.1
- module_adj[module_adj < edge_threshold] <- 0
- graph <- graph_from_adjacency_matrix(module_adj, mode = "undirected", weighted = TRUE, diag = FALSE)
- kIN_module <- kIN[moduleColors == module_of_interest, ]
- top_hubs <- rownames(kIN_module)[order(kIN_module$kWithin, decreasing = TRUE)[1:10]]
- V(graph)$hub <- V(graph)$name %in% top_hubs
- V(graph)$color <- ifelse(V(graph)$hub, "red", "green")
- V(graph)$size <- ifelse(V(graph)$hub, 8, 4)
- E(graph)$width <- E(graph)$weight * 5
- p <- ggraph(graph, layout = "fr") +
- geom_edge_link(aes(width = weight), alpha = 0.3, color = "grey50") +
- geom_node_point(aes(color = color, size = size)) +
- geom_node_text(aes(label = ifelse(hub, name, "")), repel = TRUE, size = 4, color = "black", fontface = "bold") +
- scale_color_identity() +
- scale_size_identity() +
- theme_void() +
- ggtitle("WGCNA Green Module Network with Hub Genes Highlighted") +
- theme(plot.title = element_text(hjust = 0.5, size = 18, face = "bold"))
- print(p)
- library(WGCNA)
- exportNetworkToCytoscape(
- adjMat = module_adj,
- edgeFile = "CytoscapeInput-edges-green.txt",
- nodeFile = "CytoscapeInput-nodes-green.txt",
- weighted = TRUE,
- threshold = 0.2,
- nodeNames = module_genes,
- nodeAttr = moduleColors[moduleColors == module_of_interest],
- includeColNames = TRUE
- )
- # Less busy plot with top 5 hubs and their neighbors
- top_hubs <- rownames(kIN_module)[order(kIN_module$kWithin, decreasing = TRUE)[1:5]]
- edge_threshold <- 0.4
- neighbors <- unique(unlist(lapply(top_hubs, function(hub) {
- hub_edges <- module_adj[hub, ]
- top_neighbors <- names(sort(hub_edges, decreasing = TRUE)[1:5])
- top_neighbors[hub_edges[top_neighbors] > edge_threshold]
- })))
- genes_to_plot <- unique(c(top_hubs, neighbors))
- sub_adj <- module_adj[genes_to_plot, genes_to_plot]
- sub_graph <- graph_from_adjacency_matrix(sub_adj, mode = "undirected", weighted = TRUE, diag = FALSE)
- V(sub_graph)$hub <- V(sub_graph)$name %in% top_hubs
- V(sub_graph)$color <- ifelse(V(sub_graph)$hub, "red", "green")
- V(sub_graph)$size <- ifelse(V(sub_graph)$hub, 8, 4)
- p_sub <- ggraph(sub_graph, layout = "fr", niter = 4000, area = 40000, repulserad = 20000) +
- geom_edge_link(aes(width = weight), alpha = 0.3, color = "grey50") +
- geom_node_point(aes(color = color, size = size)) +
- geom_node_text(aes(label = ifelse(hub, name, "")), repel = TRUE, size = 4, color = "black", fontface = "bold", max.overlaps = Inf) +
- scale_color_identity() +
- scale_size_identity() +
- theme_void() +
- ggtitle("Green Module: Hub Genes and Their Top Neighbors") +
- theme(plot.title = element_text(hjust = 0.5, size = 18, face = "bold"))
- print(p_sub)
- hub_color <- "#0072B2"
- neighbor_color <- "#D55E00"
- V(sub_graph)$color <- ifelse(V(sub_graph)$hub, hub_color, neighbor_color)
- V(sub_graph)$size <- ifelse(V(sub_graph)$hub, 10, 5)
- V(sub_graph)$frame.color <- "black"
- p_kk <- ggraph(sub_graph, layout = "kk") +
- geom_edge_link(aes(width = weight), alpha = 0.25, color = "grey70") +
- geom_node_point(aes(color = color, size = size), shape = 21, stroke = 1.2) +
- geom_node_text(aes(label = ifelse(hub, name, "")), repel = TRUE, size = 4, color = "black", fontface = "bold", bg.color = "white", bg.r = 0.15, max.overlaps = Inf) +
- scale_color_identity() +
- scale_size_identity() +
- theme_void() +
- ggtitle("Green Module: Hub Genes and Their Top Neighbors (Kamada-Kawai)") +
- theme(plot.title = element_text(hjust = 0.5, size = 18, face = "bold"), legend.position = "none")
- ggsave("green_module_hub_subnetwork_nature.pdf", p_kk, width = 12, height = 12, dpi = 600)
- ggsave("green_module_hub_subnetwork_nature.png", p_kk, width = 12, height = 12, dpi = 600)
- print(p_kk)
- # Cell-Type Enrichment Analysis
- library(dplyr)
- library(clusterProfiler)
- library(org.Hs.eg.db)
- library(pheatmap)
- library(RColorBrewer)
- # Load cell-type marker genes (converted to gene symbols)
- top_markers_converted <- read.csv("hypomap_cell_markers_gene_id.csv")
- # Create a named list of marker genes per cell type
- cell_markers_list <- split(top_markers_converted$gene, top_markers_converted$cluster)
- # Load module assignments
- module_gene_df <- read.csv("final_module_assignments.csv") # columns: Gene, Module
- # Create a named list of genes per module
- module_genes <- split(module_gene_df$Gene, module_gene_df$Module)
- # Define the background gene universe (all genes assigned to modules)
- all_genes <- unique(module_gene_df$Gene)
- # Perform hypergeometric enrichment test with FDR correction
- enrichment_pvals <- matrix(NA, nrow = length(module_genes), ncol = length(cell_markers_list))
- rownames(enrichment_pvals) <- names(module_genes)
- colnames(enrichment_pvals) <- names(cell_markers_list)
- for (mod in names(module_genes)) {
- for (ct in names(cell_markers_list)) {
- overlap <- intersect(module_genes[[mod]], cell_markers_list[[ct]])
- enrichment_pvals[mod, ct] <- phyper(
- length(overlap) - 1,
- length(cell_markers_list[[ct]]),
- length(all_genes) - length(cell_markers_list[[ct]]),
- length(module_genes[[mod]]),
- lower.tail = FALSE
- )
- }
- }
- # Multiple testing correction (FDR)
- enrichment_fdr <- matrix(
- p.adjust(as.vector(enrichment_pvals), method = "BH"),
- nrow = nrow(enrichment_pvals),
- dimnames = dimnames(enrichment_pvals)
- )
- # Annotate FDR values with asterisks for significance
- annotations <- matrix("", nrow = nrow(enrichment_fdr), ncol = ncol(enrichment_fdr))
- annotations[enrichment_fdr < 0.001] <- "***"
- annotations[enrichment_fdr < 0.01 & enrichment_fdr >= 0.001] <- "**"
- annotations[enrichment_fdr < 0.05 & enrichment_fdr >= 0.01] <- "*"
- display_numbers <- matrix("", nrow = nrow(enrichment_fdr), ncol = ncol(enrichment_fdr))
- for (i in seq_len(nrow(enrichment_fdr))) {
- for (j in seq_len(ncol(enrichment_fdr))) {
- if (enrichment_fdr[i, j] < 0.001) {
- display_numbers[i, j] <- paste0("<0.001", annotations[i, j])
- } else {
- display_numbers[i, j] <- paste0(sprintf("%.3f", enrichment_fdr[i, j]), annotations[i, j])
- }
- }
- }
- # Define color palette: low FDR (strong enrichment) = dark red, high FDR = white
- color_palette <- colorRampPalette(c("darkred", "white"))(100)
- # Plot publication-quality heatmap
- pheatmap(
- enrichment_fdr,
- color = color_palette,
- cluster_rows = TRUE,
- cluster_cols = TRUE,
- fontsize_row = 10,
- fontsize_col = 10,
- angle_col = 45,
- treeheight_row = 0,
- treeheight_col = 0,
- legend = TRUE,
- display_numbers = display_numbers,
- number_color = "black",
- main = "Module Enrichment in Cell Types (FDR)",
- legend_title = "FDR values",
- width = 12,
- height = 10,
- filename = "module_cell_type_enrichment_FDR_reversed.pdf"
- )
WGCNA_Analysis.R at commit e7f779e, under MIT · at the source
Overview
- Department of Biological Sciences, Clemson University, Clemson, SC 29634, USA
- Doñana Biological Station, EBD-CSIC, Seville 41092, Spain
- School of Life and Environmental Sciences, Deakin University, Waurn Ponds, VIC 3288, Australia
- School of Biological and Behavioral Sciences, Queen Mary University of London, London E1 4NS, UK
- Department of Genetics and Biochemistry, Clemson University, Clemson, SC 29634, USA
Abstract
Developmental plasticity allows organisms to adjust their phenotypes to match environmental conditions, but how sensory cues program specific physiological systems remains poorly understood. In Australian zebra finches, incubating parents emit heat calls during extreme temperatures, and embryos exposed to these acoustic signals develop enhanced thermal tolerance and altered growth trajectories as adults, a striking example of anticipatory programming. We hypothesized that heat call exposure alters embryonic hypothalamic gene expression, given this brain region's central role in integrating environmental signals and regulating metabolism, thermoregulation and growth. We exposed zebra finch embryos to playback of parental heat calls or control calls during late incubation and used RNA-sequencing of hypothalamic tissue to identify transcriptional responses. Contrary to predictions of widespread neuroendocrine reprogramming, heat call exposure produced targeted changes: robust downregulation of genes regulating vascular smooth muscle contraction and cytoskeletal dynamics, with coordinated isoform switching. Cell-type analyses revealed these molecular changes localized to vascular endothelial cells, smooth muscle cells and ependymal cells, the cellular components that control cerebral blood flow and regulate the brain's vascular barrier. Gene expression patterns suggest increased vascular plasticity that may protect against heat-induced cellular damage. Remarkably, these adaptive modifications occurred in response to an acoustic signal alone, without thermal exposure. Our results provide transcriptional evidence that prenatal acoustic cues may program cerebrovascular function through cell type-specific gene regulation, providing a novel mechanism for sensory-mediated developmental plasticity. This targeted vascular programming may represent a conserved strategy for anticipatory adaptation to predictable thermal challenges across endothermic vertebrates.
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 14 matches between paragraphs and lines of code.
praxsubba/Heat_Call_Reprogramming_Bulk_RNA_Seq
e7f779eab452a321a8016f665965747842a64171, 18 February 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
7 files
- scripts/
WGCNA_Analysis.R , R, 528 lines, 9 matches - scripts/
global_rnaseq_deseq2_pip , R, 418 lines, 2 matcheseline.R - scripts/
hypomap_run_cibersortx_h , Shell, 10 lines, 1 matchires.sh - scripts/
splicing_isoform_switch_ , R, 238 lines, 2 matchespipeline.R - scripts/
targeted_hypothalamus_de , R, 336 linesseq2_pipeline.R - LICENSE, License, 21 lines
- README.md, Text, 284 lines
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;
- 5 scripts, each with its path and the digest of its content;
- 14 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
- bioproject:PRJNA1381516, at NCBI BioProject; found in the end of the paper
- geo:GSE313742, at NCBI GEO; found in the end of the paper
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 2, 28 September 2026
- Publisher: n/a → The Company of Biologists
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 6 keywords, 8 MeSH terms, 4 funders, 106 references.
Cite
This paper
Subba, P., Mariette, M. M., Palios, K. A., Emmerson, M. G., Versace, E., Buchanan, K. L., Clayton, D. F., & George, J. M. (2026). Prenatal acoustic communication triggers adaptive vascular programming in the developing avian brain. The Journal of experimental biology, 229(11), jeb252287. https://
BibTeX
@article{subba2026prenat
author = {Subba, Prakrit and Mariette, Mylene M. and Palios, Katerina A. and Emmerson, Michael G. and Versace, Elisabetta and Buchanan, Katherine L. and Clayton, David F. and George, Julia M.},
title = {{Prenatal acoustic communication triggers adaptive vascular programming in the developing avian brain}},
journal = {The Journal of experimental biology},
year = {2026},
month = jun,
volume = {229},
number = {11},
pages = {jeb252287},
publisher = {Company of Biologists},
issn = {0022-0949},
doi = {10.1242/
url = {https://
pmid = {42276015},
pmcid = {PMC13327539}
}
RIS
TY - JOUR
AU - Subba, Prakrit
AU - Mariette, Mylene M.
AU - Palios, Katerina A.
AU - Emmerson, Michael G.
AU - Versace, Elisabetta
AU - Buchanan, Katherine L.
AU - Clayton, David F.
AU - George, Julia M.
TI - Prenatal acoustic communication triggers adaptive vascular programming in the developing avian brain
T2 - The Journal of experimental biology
J2 - J Exp Biol
PY - 2026
DA - 2026/
VL - 229
IS - 11
SP - jeb252287
SN - 0022-0949
PB - Company of Biologists
DO - 10.1242/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1242/
"type": "article-journal",
"title": "Prenatal acoustic communication triggers adaptive vascular programming in the developing avian brain",
"container-title": "The Journal of experimental biology",
"author": [
{
"family": "Subba",
"given": "Prakrit"
},
{
"family": "Mariette",
"given": "Mylene M."
},
{
"family": "Palios",
"given": "Katerina A."
},
{
"family": "Emmerson",
"given": "Michael G."
},
{
"family": "Versace",
"given": "Elisabetta"
},
{
"family": "Buchanan",
"given": "Katherine L."
},
{
"family": "Clayton",
"given": "David F."
},
{
"family": "George",
"given": "Julia M."
}
],
"container-title-short":
"volume": "229",
"issue": "11",
"page": "jeb252287",
"DOI": "10.1242/
"PMID": "42276015",
"PMCID": "PMC13327539",
"ISSN": "0022-0949",
"publisher": "Company of Biologists",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
11
]
]
}
}
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/nar/gkae172 [code]
- Comprehensive transcriptome analysis reveals altered mRNA splicing and post-transcriptional changes in the aged mouse brain.Journal: Nucleic acids researchIn common: WGCNA, clusterProfiler, DESeq2, 3 other tools, 4 references
- [2] doi:10.1038/s41467-026-72598-z [code]
- Functional impact of genetic background on variable expressivity in neurodevelopmental disorders.Journal: Nature communicationsIn common: WGCNA, clusterProfiler, DESeq2, 3 other tools, 4 references
- [3] doi:10.1016/j.isci.2023.106358 [code]
- Alterations in oligodendrocyte transcriptional networks reveal region-specific vulnerabilities to neurological disease.Journal: iScienceIn common: WGCNA, DESeq2, igraph, 2 other tools, 5 references
- [4] doi:10.1038/s42003-025-08371-7 [code]
- Site- and cell-type-specific miRNA and mRNA genes and networks across the cortex, striatum, and hypothalamus.Journal: Communications biologyIn common: WGCNA, DESeq2, pheatmap, 2 other tools, 5 references
- [5] doi:10.1038/s41467-026-76675-1 [code]
- Long-read proteogenomic atlas of human neuronal differentiation reveals isoform diversity informing neurodevelopmental risk mechanisms.Journal: Nature communicationsIn common: WGCNA, DESeq2, igraph, 3 other tools, developmental, 2 references
- [6] doi: [code]
- Maternal microbiota shapes brain and neuroendocrine development in pigletsJournal: iMetaIn common: clusterProfiler, pheatmap, ggplot2, 1 other tool, other, developmental, 4 references
- [7] doi:10.1111/acel.14251 [code]
- Single-cell sequencing unveils the impact of aging on the progenitor cell diversity in the telencephalon of the female killifish N. furzeri.Journal: Aging cellIn common: clusterProfiler, DESeq2, ggplot2, 1 other tool, other, 4 references
- [8] doi:10.1038/s42003-026-10402-w [code]
- Temporal orchestration of transcriptional and epigenomic programming underlying maternal embryonic diapause in a cricket model.Journal: Communications biologyIn common: DESeq2, pheatmap, ggplot2, 1 other tool, other, developmental, 3 references
- [9] doi:10.1038/s41467-023-41384-6 [code]
- Maintenance of pluripotency-like signature in the entire ectoderm leads to neural crest stem cell potential.Journal: Nature communicationsIn common: DESeq2, pheatmap, ggplot2, 1 other tool, other, 4 references
- [10] doi:10.1038/s41588-023-01560-2 [code]
- Isoform-level transcriptome-wide association uncovers genetic risk mechanisms for neuropsychiatric disorders in the human brain.Journal: Nature geneticsIn common: WGCNA, DESeq2, ggplot2, 1 other tool, 4 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, 5 scripts, and 14 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:df23c1f012c76fb4…
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.1242/jeb.252287)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1242/jeb.252287.svg
:target: https://openscicode.org/badge/doi/10.1242/jeb.252287
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1242/jeb.252287"><img src="https://openscicode.org/badge/doi/10.1242/jeb.252287.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.
