Exploratory Genome and Transcriptome-Wide Association Analyses of Addiction-Related Phenotypes in a Twin Cohort.
The 5 matches
- [1] § 3. Results ↔ gwas.r, lines 1–68 · score 0.67 · alcohol consumption, illicit drug, TOP6BL, behavioral disinhibition, alcohol dependence, ADAM32
- [2] § 2. Materials and Methods ↔ gwas.r, lines 1–68 · score 0.63 · alcohol consumption, illicit drug, behavioral disinhibition, alcohol dependence, discovery, Composite
- [3] § 2. Materials and Methods ↔ twas.sh, lines 14–23 · score 0.60 · alcohol consumption, illicit drug, behavioral disinhibition, alcohol dependence, Composite, nicotine
- [4] § 3. Results ↔ twas.sh, lines 14–23 · score 0.56 · alcohol consumption, illicit drug, behavioral disinhibition, alcohol dependence, nicotine, TWAS
- [5] § 2. Materials and Methods ↔ gwas.r, lines 70–150 · score 0.50 · Gene symbols, position, numeric, chromosomal, SNP, thresholds
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 · 159 lines · 7.5 KB · no license · 3 matches
- # Title: Publication Composite Figure 2 (GWAS)
- # Description: Generates the 5 plots with CORRECTED phenotype mappings.
- # Uses Blue/Yellow alternating chromosome colors.
- library(data.table)
- library(ggplot2)
- library(dplyr)
- library(readr)
- library(ggrepel)
- library(stringr)
- library(patchwork)
- ASSOC_ROOT <- "/Users/an/Desktop/Discovery data/"
- FILE_PATTERN <- "chr{chr}_pheno{pheno}_lmm.assoc.txt"
- OUTPUT_DIR <- "/Users/an/Desktop/PLOTS_PAPERSTYLE/"
- if (!dir.exists(OUTPUT_DIR)) dir.create(OUTPUT_DIR, recursive = TRUE)
- # ==============================================================================
- # THE CORRECTED PHENOTYPE MAPPING
- # ==============================================================================
- PHENO_MAP <- c(
- "1" = "Nicotine Composite Score",
- "2" = "Alcohol Consumption Composite Score",
- "3" = "Alcohol Dependence Composite Score",
- "4" = "Illicit Drug Composite Score",
- "5" = "Behavioral Disinhibition Composite Score"
- )
- # CHANGED: Alternating Blue and Yellow hex codes
- PLOT_COLORS <- c("#1f78b4", "#ffc125")
- SIGNIFICANCE_THRESHOLD <- 6
- # ==============================================================================
- # THE MASTER DICTIONARY (Re-aligned to match the correct traits)
- # ==============================================================================
- annotation_mapping <- tribble(
- ~PhenotypeID, ~CoordinateString, ~GeneSymbol,
- # Pheno 1 (Nicotine)
- "1", "3:29195780", "EOMES",
- # Pheno 2 (Alcohol Consumption)
- "2", "7:153433844", "DPP6",
- "2", "22:50725237", "TOP6BL",
- "2", "22:50724593", "ADAM32",
- # Pheno 3 (Alcohol Dependence)
- "3", "2:180554440", "TNS1",
- "3", "3:139986727", "NMNAT3",
- "3", "5:148871502", "HTR4",
- "3", "13:48927587", "RCBTB2",
- "3", "22:50725237", "ADAM32",
- "3", "22:50724593", "TOP6BL",
- # Pheno 4 (Illicit Drug)
- "4", "2:169756930", "LRP1B",
- "4", "3:54112290", "ERC2",
- "4", "7:153433844", "DPP6",
- "4", "13:48927587", "RCBTB2",
- "4", "17:10702703", "ABCA8",
- # Pheno 5 (Behavioral Disinhibition)
- "5", "2:180554440", "TNS1",
- "5", "3:139986727", "NMNAT3",
- "5", "5:148871502", "HTR4",
- "5", "13:48927587", "RCBTB2"
- )
- create_manhattan <- function(pheno_id, title_text, show_x_axis = TRUE) {
- message(sprintf(" -> Processing Phenotype %s: %s...", pheno_id, title_text))
- gwas_raw_all <- data.frame()
- for (c in 1:22) {
- filename <- str_glue(FILE_PATTERN, chr = c, pheno = pheno_id)
- full_path <- file.path(ASSOC_ROOT, filename)
- if (file.exists(full_path)) {
- this_chr <- fread(full_path, data.table = FALSE)
- actual_cols <- colnames(this_chr)
- if ("chr" %in% actual_cols) names(this_chr)[names(this_chr) == "chr"] <- "CHR"
- if ("ps" %in% actual_cols) names(this_chr)[names(this_chr) == "ps"] <- "BP"
- if ("pos" %in% actual_cols) names(this_chr)[names(this_chr) == "pos"] <- "BP"
- if ("rs" %in% actual_cols) names(this_chr)[names(this_chr) == "rs"] <- "SNP"
- else if (!"SNP" %in% actual_cols) this_chr$SNP <- NA
- if ("p_lrt" %in% actual_cols) names(this_chr)[names(this_chr) == "p_lrt"] <- "P"
- else if ("p_wald" %in% actual_cols) names(this_chr)[names(this_chr) == "p_wald"] <- "P"
- this_chr <- this_chr %>%
- mutate(CHR = as.integer(CHR), BP = as.numeric(BP), P = as.numeric(P), SNP = as.character(SNP)) %>%
- mutate(CoordKey = paste0(CHR, ":", sprintf("%d", as.integer(BP)))) %>%
- mutate(DefaultLabel = ifelse(is.na(SNP) | SNP == "" | SNP == ".", CoordKey, SNP)) %>%
- select(CHR, BP, P, CoordKey, DefaultLabel)
- gwas_raw_all <- bind_rows(gwas_raw_all, this_chr)
- }
- }
- gwas_raw_all <- gwas_raw_all %>% filter(!is.na(P) & P > 0)
- gwas_dat <- gwas_raw_all %>% mutate(logP = -log10(P))
- nCHR <- length(unique(gwas_dat$CHR))
- gwas_dat_cumulative <- gwas_dat %>%
- group_by(CHR) %>%
- summarise(chr_len = max(BP)) %>%
- mutate(tot = cumsum(as.numeric(chr_len)) - chr_len) %>%
- select(-chr_len) %>%
- left_join(gwas_dat, ., by = "CHR") %>%
- arrange(CHR, BP) %>%
- mutate(BPcum = BP + tot)
- axis_set <- gwas_dat_cumulative %>% group_by(CHR) %>% summarize(center = mean(range(BPcum)))
- current_dict <- annotation_mapping %>% filter(PhenotypeID == pheno_id)
- sig_snps <- gwas_dat_cumulative %>% filter(logP > SIGNIFICANCE_THRESHOLD) %>% left_join(current_dict, by = c("CoordKey" = "CoordinateString"))
- dict_matches <- sig_snps %>% filter(!is.na(GeneSymbol)) %>% mutate(FinalLabel = GeneSymbol)
- chrs_with_dict <- unique(dict_matches$CHR)
- fallback_snps <- sig_snps %>% filter(! CHR %in% chrs_with_dict) %>% group_by(CHR) %>% slice_max(order_by = logP, n = 1, with_ties = FALSE) %>% ungroup() %>% mutate(FinalLabel = DefaultLabel)
- top_snps <- bind_rows(dict_matches, fallback_snps)
- # Brute force label cleanup (Universal)
- top_snps <- top_snps %>% mutate(FinalLabel = case_when(
- FinalLabel == "22:50725237" ~ "ADAM32", FinalLabel == "22:50724593" ~ "TOP6BL",
- FinalLabel == "7:153433844" ~ "DPP6", FinalLabel == "3:29195780" ~ "EOMES",
- FinalLabel == "2:180554440" ~ "TNS1", FinalLabel == "3:139986727" ~ "NMNAT3",
- FinalLabel == "5:148871502" ~ "HTR4", FinalLabel == "13:48927587" ~ "RCBTB2",
- FinalLabel == "2:169756930" ~ "LRP1B", FinalLabel == "3:54112290" ~ "ERC2",
- FinalLabel == "17:10702703" ~ "ABCA8", TRUE ~ FinalLabel
- ))
- man_plot <- ggplot(gwas_dat_cumulative, aes(x = BPcum, y = logP)) +
- theme_minimal(base_size = 14) +
- theme(panel.grid.major.x = element_blank(), panel.grid.minor.x = element_blank(), panel.grid.major.y = element_line(color = "lightgrey", linetype = "solid"), panel.grid.minor.y = element_blank(), axis.text.x = element_text(size = 10, vjust = 0.5), plot.title = element_text(hjust = 0.5, face = "bold", size = 16), axis.title.y = element_text(face="bold")) +
- labs(title = title_text, x = "Chromosome", y = expression(bold(paste("-log"[10], "(P)")))) +
- geom_point(aes(color = as.factor(CHR)), alpha = 0.8, size = 1.3) +
- scale_color_manual(values = rep(PLOT_COLORS, nCHR)) +
- scale_x_continuous(label = axis_set$CHR, breaks = axis_set$center, expand = c(0.02, 0)) +
- scale_y_continuous(expand = c(0, 0), limits = c(0, max(gwas_dat_cumulative$logP) + 1.5)) +
- geom_hline(yintercept = SIGNIFICANCE_THRESHOLD, color = "red", linetype = "dashed", size = 0.8) +
- theme(legend.position = "none") +
- geom_label_repel(data = top_snps, aes(label = FinalLabel), fontface = "bold", color = "black", fill = "white", box.padding = unit(0.35, "lines"), point.padding = unit(0.5, "lines"), segment.color = "grey50", size = 4, label.padding = unit(0.2, "lines"), label.r = unit(0.1, "lines"), label.size = 0.25, min.segment.length = 0, max.overlaps = Inf)
- if (!show_x_axis) man_plot <- man_plot + theme(axis.title.x = element_blank())
- return(man_plot)
- }
- message("\nGenerating CORRECTED GWAS Composite (Blue/Yellow)...")
- plot_list <- list()
- for (i in 1:5) { pheno_id <- as.character(i); plot_list[[i]] <- create_manhattan(pheno_id, PHENO_MAP[pheno_id], show_x_axis = (i == 5)) }
- composite_figure <- (plot_list[[1]] / plot_list[[2]] / plot_list[[3]] / plot_list[[4]] / plot_list[[5]]) + plot_annotation(tag_levels = 'A') & theme(plot.tag = element_text(size = 20, face = "bold"))
- output_file <- file.path(OUTPUT_DIR, "Figure_2_Composite_Manhattan_CORRECTED_MAPPING.png")
- ggsave(filename = output_file, plot = composite_figure, width = 14, height = 25, units = "in", dpi = 300, limitsize = FALSE)
- message(sprintf("Success! Saved to: %s", output_file))
gwas.r at commit b8dc0e2, no license · at the source
Overview
- College of Medicine, California Northstate University, Elk Grove, CA 95757, USA; (J.Z.); (A.P.T.)
- College of Graduate Studies, California Northstate University, Elk Grove, CA 95757, USA
Abstract
Background/
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 5 matches between paragraphs and lines of code.
jared8844/code-for-addiction-paper
b8dc0e26babd6bc7370fbcd08e29835d5acb587d, 26 June 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
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;
- 2 scripts, each with its path and the digest of its content;
- 5 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 R, Bash, and Python scripts used for genotype quality control, GWAS execution, LD clumping, PRS construction, TWAS analysis, post-processing, and figure generation are publicly available at: 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, 4 authors, 8 keywords, 36 references.
Cite
This paper
Zhou, J., Ta, A. P., Yang, C., & El Shamy, A. (2026). Exploratory Genome and Transcriptome-Wide Association Analyses of Addiction-Related Phenotypes in a Twin Cohort. Biomedicines, 14(8), 1677. https://
BibTeX
@article{zhou2026explora
author = {Zhou, Jiahua and Ta, An Phuc and Yang, Catherine and El Shamy, Ahmed},
title = {{Exploratory Genome and Transcriptome-Wide Association Analyses of Addiction-Related Phenotypes in a Twin Cohort}},
journal = {Biomedicines},
year = {2026},
month = jul,
volume = {14},
number = {8},
pages = {1677},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2227-9059},
doi = {10.3390/
url = {https://
pmid = {42652060},
pmcid = {PMC13510053}
}
RIS
TY - JOUR
AU - Zhou, Jiahua
AU - Ta, An Phuc
AU - Yang, Catherine
AU - El Shamy, Ahmed
TI - Exploratory Genome and Transcriptome-Wide Association Analyses of Addiction-Related Phenotypes in a Twin Cohort
T2 - Biomedicines
J2 - Biomedicines
PY - 2026
DA - 2026/
VL - 14
IS - 8
SP - 1677
SN - 2227-9059
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Exploratory Genome and Transcriptome-Wide Association Analyses of Addiction-Related Phenotypes in a Twin Cohort",
"container-title": "Biomedicines",
"author": [
{
"family": "Zhou",
"given": "Jiahua"
},
{
"family": "Ta",
"given": "An Phuc"
},
{
"family": "Yang",
"given": "Catherine"
},
{
"family": "El Shamy",
"given": "Ahmed"
}
],
"container-title-short":
"volume": "14",
"issue": "8",
"page": "1677",
"DOI": "10.3390/
"PMID": "42652060",
"PMCID": "PMC13510053",
"ISSN": "2227-9059",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
26
]
]
}
}
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.1038/s41467-026-75193-4 [code]
- Multi-ancestry gene expression models amplify transcriptome-wide association study discovery and validation.Journal: Nature communicationsIn common: data.table, patchwork, ggplot2, 1 other tool, genetics / omics, cellular / molecular, 4 references
- [2] doi:10.1038/s41467-026-72164-7 [code]
- Multivariate genetic analysis reveals three distinct pathological dimensions in musculoskeletal disorders.Journal: Nature communicationsIn common: data.table, ggplot2, tidyverse, genetics / omics, 5 references
- [3] doi:10.1186/s12967-026-08266-z [code]
- Single-cell multi-omic integration analysis prioritizes druggable genes and reveals cell-type-specific causal effects in glioblastomagenesis.Journal: Journal of translational medicineIn common: data.table, patchwork, ggplot2, 1 other tool, genetics / omics, other condition, cellular / molecular, 3 references
- [4] doi:10.1038/s41588-026-02646-3 [code]
- Co-expression-based models improve eQTL predictions for transcriptome-wide association studies and highlight new schizophrenia-associated
genes. Journal: Nature geneticsIn common: data.table, tidyverse, genetics / omics, cellular / molecular, 5 references - [5] doi:10.1038/s41380-026-03571-x [code]
- Convergent coexpression reveals shared biological mechanisms underlying common and rare variant risk in six neuropsychiatric disorders.Journal: Molecular psychiatryIn common: data.table, patchwork, ggplot2, 1 other tool, genetics / omics, cellular / molecular, 3 references
- [6] doi:10.1038/s41467-026-71738-9 [code]
- Genetic landscape of adult executive function reveals a cell-type-specific developmental origin.Journal: Nature communicationsIn common: data.table, patchwork, ggplot2, 1 other tool, genetics / omics, 3 references
- [7] doi:10.1038/s42003-026-10030-4 [code]
- Cell-type-aware transcriptome-wide association studies identify 91 independent risk genes for Alzheimer's disease dementia.Journal: Communications biologyIn common: patchwork, ggplot2, tidyverse, genetics / omics, cellular / molecular, 3 references
- [8] doi:10.1038/s41467-026-73428-y [code]
- Regional heterogeneity in phenotypic and genetic associations between bone and brain in humans.Journal: Nature communicationsIn common: data.table, ggplot2, tidyverse, genetics / omics, cellular / molecular, 3 references
- [9] doi:10.1371/journal.pgen.1012126 [code]
- FM-GPT: Bayesian fine mapping for phenome-wide transcriptome-wide association studies.Journal: PLoS geneticsIn common: genetics / omics, cellular / molecular, 5 references
- [10] doi:10.1038/s41467-026-71542-5 [code]
- Astrocyte fatty acid metabolism as a driver of risk for major depressive disorder.Journal: Nature communicationsIn common: data.table, patchwork, ggplot2, 1 other tool, genetics / omics, cellular / molecular, 2 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 5 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:2a51b410ddcdc146…
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.
