The EDC mixture "NeuroMix" alters neuroendocrine physiology, fatty food preference, and the central reward transcriptome.
2 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 2 matches
- [1] § Materials and methods › Statistical analyses › Eigengene generation and trait prediction ↔ NMXseq_EigengeneAnalysis_2026.R, lines 212 to 299 · score 0.62 · Module membership, matrix, gene expression, Pearson, prcomp, Eigengenes · block
oscr:b:KGC1JAR1R25C9-2· Report a mismatch - [2] § Materials and methods › Statistical analyses › Enrichment analysis ↔ NMXseq_EigengeneAnalysis_2026.R, lines 2 to 43 · score 0.54 · Gene Ontology, FDR, gene expression, matching, GO term, clustering · block
oscr:b:XXZJ5WWWJT4HH-N· 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 · 300 lines · 9.9 KB · no license · 2 matches
- ################################################################################
- # Gene Ontology Eigengene Scores
- ################################################################################
- # Emily N. Hilz, Phd.
- # The University of Texas at Austin
- # [email hidden]
- # please reference https://doi.org/10.1210/endocr/bqag084 when using this code
- ################################################################################
- # PCA by sample - loop using linear mixed model - individual GO terms
- ################################################################################
- # The following code provides example flow for one sex and brain region.
- library(dplyr)
- library(tidyr)
- library(lme4)
- library(lmerTest)
- library(ggplot2)
- # Step 1: Load normalized gene expression and GO data files
- IDs <- read.csv("NMXseq_IDs.csv")
- norm <- read.csv("NMXseq_NormalizedGenes.csv")
- geneGOs <- read.csv("GeneGOs.csv") # Derived from Msibdbr package version 7.1
- GOresults <- read.csv("GOall_Fem_OFC.csv") %>% filter(fdr < 0.05)
- # Step 2: Match genes to GO terms and clusters
- matched_genes <- GOresults %>%
- inner_join(geneGOs, by = c("id" = "GO")) %>%
- select(name, gene) # Keep only relevant columns
- matched_summary <- matched_genes %>%
- group_by(name) %>%
- summarise(Matching_Genes = list(unique(gene)), # Store genes as a list
- Gene_Count = n()) # Count matching genes per summary
- # Step 3: Initialize lists for results
- lmm_results_list <- list()
- pca_plots <- list()
- pc_results_list <- list() # Stores PC1 & PC2 results for all
- # Step 4: Loop through each unique name (i.e., GO term)
- for (summary_category in unique(matched_genes$name)) {
- # Filter genes for the current summary category
- summary_genes <- matched_genes %>%
- filter(name == summary_category) %>%
- distinct(gene) %>%
- pull(gene) # Extract gene names as a vector
- # Filter expression data for relevant genes; mind the filter
- filtered_norm_expr <- norm %>%
- filter(gene %in% summary_genes, Sex == "Female", Brain_Region == "OFC")
- # Aggregate duplicate genes per Sample.ID
- filtered_genes <- filtered_norm_expr %>%
- group_by(gene, Sample.ID) %>%
- summarize(Expression = mean(Expression, na.rm = TRUE), .groups = "drop")
- # Transform to wide format
- filtered_wide <- filtered_genes %>%
- pivot_wider(names_from = gene, values_from = Expression) %>%
- column_to_rownames(var = "Sample.ID")
- # Skip if not enough genes for PCA
- if (ncol(filtered_wide) < 2) next
- # Perform PCA
- pca_results <- prcomp(filtered_wide, scale. = F, center = TRUE)
- # Convert PCA results to dataframe
- pca_df <- as.data.frame(pca_results$x) %>%
- rownames_to_column(var = "Sample.ID") %>%
- left_join(IDs, by = "Sample.ID") # Add Treatment info
- # Skip if fewer than 2 PCs
- if (ncol(pca_df) < 3) next
- # Fit Linear Model for PC1
- lm_PC1 <- lm(PC1 ~ Treatment, data = pca_df)
- # Fit Linear Model for PC2
- lm_PC2 <- lm(PC2 ~ Treatment, data = pca_df)
- # Store LMM results
- lmm_results_list[[summary_category]] <- list(
- PC1_LM = summary(lm_PC1),
- PC2_LM = summary(lm_PC2)
- )
- # Store PCA results with name
- pc_results_list[[summary_category]] <- pca_df %>%
- select(ID, Brain_Region, Sex, Treatment, PC1, PC2) %>%
- mutate(name = summary_category, # Add cluster name
- ID = paste0("MDR ", ID)) # Modify ID
- # Generate PCA plot
- p <- ggplot(pca_df, aes(x = PC1, y = PC2, label = Sample.ID, color = Treatment)) +
- geom_point(size = 4, alpha = 0.8, show.legend = TRUE) +
- geom_text(vjust = 1.5, size = 3, check_overlap = TRUE, color = "black") +
- labs(title = paste("PCA of", summary_category, "cluster"),
- x = "PC1",
- y = "PC2",
- color = "GO Term") +
- theme_classic()
- # Store the plot in a list
- pca_plots[[summary_category]] <- p
- }
- # Optional: Print LMM results to look at treatment effects on PC scores per term
- lmm_results_list
- # Optional: Check for outliers by viewing PCA plots, perform exclusion as needed
- pca_plots
- # Step 5: Combine all PC1 & PC2 results into one dataframe
- PCS <- bind_rows(pc_results_list)
- # Step 6: Save PCA results as a CSV file
- write.csv(PCS, "FemOFC_PCA_results_IndvGO.csv", row.names = FALSE)
- #Optional: Filter and view significant models and plots
- extract_significant_models <- function(lmm_results, threshold = 0.05) {
- significant_results <- list()
- for (cluster in names(lmm_results)) {
- model_PC1 <- lmm_results[[cluster]]$PC1_LM
- model_PC2 <- lmm_results[[cluster]]$PC2_LM
- # Extract p-values from coefficients
- pvals_PC1 <- coef(model_PC1)[, "Pr(>|t|)"]
- pvals_PC2 <- coef(model_PC2)[, "Pr(>|t|)"]
- # Check if any term in PC1 or PC2 is below threshold
- if (any(pvals_PC1 < threshold, na.rm = TRUE) || any(pvals_PC2 < threshold, na.rm = TRUE)) {
- significant_results[[cluster]] <- lmm_results[[cluster]]
- }
- }
- return(significant_results)
- }
- significant_lmm_results <- extract_significant_models(lmm_results_list, threshold = 0.055)
- print(significant_lmm_results)
- # Create an empty list to store plots
- significant_lm_plots <- list()
- # Extract only significant clusters
- significant_clusters <- names(significant_lmm_results)
- # Loop through each significant cluster and generate regression plots
- for (cluster in significant_clusters) {
- # Retrieve PCA scores for this cluster
- cluster_data <- data %>% filter(name == cluster)
- # Skip if not enough data
- if (nrow(cluster_data) < 5) next
- # Generate regression plot for PC1
- p1 <- ggplot(pca_df, aes(x = PC1, y = PC2, label = Sample.ID, color = Treatment)) +
- geom_point(size = 4, alpha = 0.8, show.legend = TRUE) +
- geom_text(vjust = 1.5, size = 3, check_overlap = TRUE, color = "black") +
- labs(title = paste("PCA of", summary_category, "cluster"),
- x = "PC1",
- y = "PC2",
- color = "GO Term") +
- theme_classic() +
- scale_color_manual(values = c("NMX" = "orange",
- "Veh" = "cornflowerblue"))
- # Store only the plots from significant models
- significant_lm_plots[[paste(cluster, "PC1")]] <- p1
- }
- # View only significant model plots
- significant_lm_plots
- ################################################################################
- # PCA by GO term for module membership
- ################################################################################
- library(dplyr)
- library(tidyr)
- library(tibble)
- # Step 1: Load data files
- IDs <- read.csv("NMXseq_IDs.csv")
- norm <- read.csv("NMXseq_NormalizedGenes.csv")
- geneGOs <- read.csv("GeneGOs.csv")
- GOresults <- read.csv("GOall_Fem_NAC.csv") %>% na.omit()
- # Step 2: Match genes to GO terms and clusters
- matched_genes <- GOresults %>%
- inner_join(geneGOs, by = c("id" = "GO")) %>%
- select(name, gene) # Keep only relevant columns
- matched_summary <- matched_genes %>%
- group_by(name) %>%
- summarise(Matching_Genes = list(unique(gene)), # Store genes as a list
- Gene_Count = n()) # Count matching genes per summary
- run_go_pca <- function(go_name,
- sex = "Female",
- brain_region = "NAC",
- pc_keep = 1:2,
- scale = FALSE,
- center = TRUE,
- membership_pc = 1, # <-- which PC defines "eigengene"
- membership_method = "pearson",
- membership_use = "pairwise.complete.obs") {
- summary_genes <- matched_genes %>%
- filter(name == go_name) %>%
- distinct(gene) %>%
- pull(gene)
- filtered_norm_expr <- norm %>%
- filter(gene %in% summary_genes,
- Sex == sex,
- Brain_Region == brain_region)
- filtered_genes <- filtered_norm_expr %>%
- group_by(gene, Sample.ID) %>%
- summarize(Expression = mean(Expression, na.rm = TRUE), .groups = "drop")
- filtered_wide <- filtered_genes %>%
- pivot_wider(names_from = gene, values_from = Expression) %>%
- column_to_rownames("Sample.ID")
- if (ncol(filtered_wide) < 2) return(NULL)
- if (nrow(filtered_wide) < 3) return(NULL)
- pca <- prcomp(filtered_wide, scale. = scale, center = center)
- # ---- Loadings ----
- loadings <- as.data.frame(pca$rotation) %>%
- rownames_to_column("gene")
- pcs_exist <- paste0("PC", pc_keep)
- pcs_exist <- pcs_exist[pcs_exist %in% colnames(loadings)]
- loadings <- loadings %>%
- select(gene, all_of(pcs_exist)) %>%
- mutate(go_name = go_name,
- sex = sex,
- brain_region = brain_region)
- # ---- Variance explained ----
- var_explained <- (pca$sdev^2 / sum(pca$sdev^2)) * 100
- var_explained <- tibble(
- go_name = go_name,
- sex = sex,
- brain_region = brain_region,
- PC = paste0("PC", seq_along(var_explained)),
- pct = var_explained
- )
- # ---- Module membership (kME-like): cor(gene expression, eigengene) ----
- eigengene <- pca$x[, paste0("PC", membership_pc)]
- # Make sure columns are genes
- expr_mat <- as.matrix(filtered_wide) # rows=samples, cols=genes
- kME <- apply(expr_mat, 2, function(gene_vec) {
- cor(gene_vec, eigengene,
- method = membership_method,
- use = membership_use)
- })
- membership <- tibble(
- gene = names(kME),
- kME = unname(kME),
- abs_kME = abs(kME),
- go_name = go_name,
- sex = sex,
- brain_region = brain_region
- ) %>%
- arrange(desc(abs_kME))
- list(
- pca = pca,
- loadings = loadings,
- var_explained = var_explained,
- membership = membership,
- eigengene = tibble(Sample.ID = rownames(filtered_wide),
- eigengene = as.numeric(eigengene),
- go_name = go_name,
- sex = sex,
- brain_region = brain_region)
- )
- }
NMXseq_EigengeneAnalysis_2026.R at commit fe24150, no license · at the source
Overview
- Department of Pharmacy, Division of Pharmacology and Toxicology, The University of Texas at Austin, Austin, TX 78712, USA
- Institute of Environmental Health Sciences and Department of Pharmacology, Wayne State University, Detroit, MI 48202, USA
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 2 matches between paragraphs and lines of code.
emilyhilz/NeuroMix-2026
fe24150f45328c13f0ebface0a30a763a7cebc5c, 13 August 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
3 files
- NMXseq_EigengeneAnalysis
_2026.R , R, 300 lines, 2 matches - NMXseq_TraitPrediction_2
026.R , R, 208 lines - README.md, Text, 2 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;
- 2 scripts, each with its path and the digest of its content;
- 2 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 statement
The paper has a 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 says that the data are available on request
Read it in the paper: doi.org/10.1210/endocr/bqag084.
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, 14 MeSH terms, 2 funders, 96 references, 1 RRID.
Cite
This paper
Hilz, E. N., Gonzalez, N. R., Morales-Grahl, E., Deka, J., Sheinhaus, D. L., Thompson, L. M., Kassotis, C. D., & Gore, A. C. (2026). The EDC mixture "NeuroMix" alters neuroendocrine physiology, fatty food preference, and the central reward transcriptome. Endocrinology, 167(9), bqag084. https://
BibTeX
@article{hilz2026edc,
author = {Hilz, Emily N and Gonzalez, Nicholas R and Morales-Grahl, Elena and Deka, Jahnabi and Sheinhaus, Dana L and Thompson, Lindsay M and Kassotis, Christopher D and Gore, Andrea C},
title = {{The EDC mixture "NeuroMix" alters neuroendocrine physiology, fatty food preference, and the central reward transcriptome}},
journal = {Endocrinology},
year = {2026},
month = aug,
volume = {167},
number = {9},
pages = {bqag084},
publisher = {The Endocrine Society},
issn = {0013-7227},
doi = {10.1210/
url = {https://
pmid = {42538733},
pmcid = {PMC13490871}
}
RIS
TY - JOUR
AU - Hilz, Emily N
AU - Gonzalez, Nicholas R
AU - Morales-Grahl, Elena
AU - Deka, Jahnabi
AU - Sheinhaus, Dana L
AU - Thompson, Lindsay M
AU - Kassotis, Christopher D
AU - Gore, Andrea C
TI - The EDC mixture "NeuroMix" alters neuroendocrine physiology, fatty food preference, and the central reward transcriptome
T2 - Endocrinology
J2 - Endocrinology
PY - 2026
DA - 2026/
VL - 167
IS - 9
SP - bqag084
SN - 0013-7227
PB - The Endocrine Society
DO - 10.1210/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1210/
"type": "article-journal",
"title": "The EDC mixture \"NeuroMix\" alters neuroendocrine physiology, fatty food preference, and the central reward transcriptome",
"container-title": "Endocrinology",
"author": [
{
"family": "Hilz",
"given": "Emily N"
},
{
"family": "Gonzalez",
"given": "Nicholas R"
},
{
"family": "Morales-Grahl",
"given": "Elena"
},
{
"family": "Deka",
"given": "Jahnabi"
},
{
"family": "Sheinhaus",
"given": "Dana L"
},
{
"family": "Thompson",
"given": "Lindsay M"
},
{
"family": "Kassotis",
"given": "Christopher D"
},
{
"family": "Gore",
"given": "Andrea C"
}
],
"container-title-short":
"volume": "167",
"issue": "9",
"page": "bqag084",
"DOI": "10.1210/
"PMID": "42538733",
"PMCID": "PMC13490871",
"ISSN": "0013-7227",
"publisher": "The Endocrine Society",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
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.3390/toxics10030122
- Prenatal Exposure to an EDC Mixture, NeuroMix: Effects on Brain, Behavior, and Stress Responsiveness in Rats.Journal: ToxicsIn common: rat, 2 references, author Andrea C Gore
- [2] doi:10.7554/elife.92200 [code]
- Comparative neuroimaging of sex differences in human and mouse brain anatomy.Journal: eLifeIn common: car, lmerTest, lme4, 3 other tools, cellular / molecular, 1 reference
- [3] doi:10.1111/jne.70067 [code]
- Stress alters hypothalamic gene expression in adolescent male Golden hamsters.Journal: Journal of neuroendocrinologyIn common: car, lmerTest, lme4, 2 other tools, genetics / omics, 2 references
- [4] doi:10.1016/j.isci.2022.105279 [code]
- A multi-omics approach to visualize early neuronal differentiation from hESCs in 4D.Journal: iScienceIn common: car, reshape2, ggplot2, 1 other tool, genetics / omics, 1 reference
- [5] doi:10.1038/s41598-023-29609-6 [code]
- Patterns of Arc mRNA expression in the rat brain following dual recall of fear- and reward-based socially acquired information.Journal: Scientific reportsIn common: rat, cellular / molecular, author Emily N Hilz
- [6] doi:10.1038/s42003-024-06439-4 [code]
- Neural connectivity patterns explain why adolescents perceive the world as moving slow.Journal: Communications biologyIn common: car, lme4, ggplot2, 1 other tool, 1 reference
- [7] doi:10.1007/s11357-022-00630-3 [code]
- Hypothalamic microstructure and function are related to body mass, but not mental or cognitive abilities across the adult lifespan.Journal: GeroScienceIn common: car, reshape2, ggplot2, 1 other tool, 1 reference
- [8] doi:10.1126/sciadv.abo3991 [code]
- Sex-specific epigenetic development in the mouse hypothalamic arcuate nucleus pinpoints human genomic regions associated with body mass index.Journal: Science advancesIn common: reshape2, ggplot2, tidyverse, genetics / omics, 2 references
- [9] doi:10.1016/j.cpblue.2026.100072 [code]
- NodoMap: A single-cell and spatial transcriptomic atlas of the mouse nodose ganglion.Journal: Cell press blueIn common: reshape2, ggplot2, tidyverse, genetics / omics, 2 references
- [10] doi:10.1093/braincomms/fcag264 [code]
- Elevated intron retention implicates neuroinflammation in brains of individuals with alcohol use disorder.Journal: Brain communicationsIn common: rat, genetics / omics, cellular / molecular, 3 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, 2 scripts, and 2 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:4d0364c9a5b12d5e…
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.1210/endocr/bqag084)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1210/endocr/bqag084.svg
:target: https://openscicode.org/badge/doi/10.1210/endocr/bqag084
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1210/endocr/bqag084"><img src="https://openscicode.org/badge/doi/10.1210/endocr/bqag084.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.
