OSCR

Dissecting genotype-specific effects of disease-associated genetic variants.

Code ↔ Paper

3 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

3 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 3 matches
  1. [1] § STAR★Methods › Method details › ONT long-read DNA sequencing › High molecular weight (HMW) DNA extraction, library preparation and sequencing ↔ python/pod5/src/pod5/pod5_types.py, lines 136 to 238 · score 0.78 · MinKNOW, PromethION, flow cells, sequencing kit, Nanopore · block oscr:b:69D5J4MHA9E19-K · Report a mismatch
  2. [2] § STAR★Methods › Method details › RNA extraction, sequencing and data analysis › RNA sequencing data analysis ↔ CRISPR_Tx_plots.R, lines 262 to 343 · score 0.68 · iPSC, IDO1, UTF1, ZIC1, NANOG, OCT4 · block oscr:b:A6VE44ATSCQQN-C · Report a mismatch
  3. [3] § STAR★Methods › Method details › RNA extraction, sequencing and data analysis › RNA sequencing data analysis ↔ CRISPR_Tx_plots.R, lines 891 to 976 · score 0.60 · log2 fold change, Log2FC, v1, v2, seq, genes · block oscr:b:5AGZER2V81AE3-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 · 976 lines · 41 KB · no license · 2 matches

  1. library("DESeq2")
  2. library(tidyverse)
  3. library("ggpubr")
  4. library(gridExtra)
  5. library("RColorBrewer")
  6. library(Manu)
  7. library("ggbeeswarm")
  8. library("readxl")
  9. library("UpSetR")
  10. # MA plots ----------------------------------------------------------------
  11. # https://rpkgs.datanovia.com/ggpubr/reference/ggmaplot.html
  12. t5_all <- read_tsv("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv")
  13. t5_all_ma <- ggmaplot(t5_all, main = expression("rs11610045 vs background"),
  14. fdr = 0.05, fc = 2, size =0.4, #log2FC = 1
  15. palette = c("#B31B21", "#1465AC", "darkgray"),
  16. genenames = as.vector(t5_all$gene),
  17. legend = "none", top = 0,
  18. font.label = c("bold", 11),
  19. font.legend = "bold",
  20. font.main = "bold",
  21. ggtheme = ggplot2::theme_minimal(),
  22. label.select = c("ARHGAP22","CNTNAP2","TXNRD1"))
  23. ggsave("../plots/MA/t5_vs_allipsc.pdf",t5_all_ma, width = 6, height = 4)
  24. t5_all_1 <- t5_all %>%
  25. filter(log2FoldChange > 1 | log2FoldChange < -1)
  26. write.table(t5_all, "~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/t5_all_suptab2.txt", row.names = FALSE, sep = "\t")
  27. # Neurons
  28. t5N_WTN <- read_tsv("editN_vs_WTN/t5N_vs_WTN_lfcshrk0_p0.01.tsv")
  29. t5N_WTN_ma <- ggmaplot(t5N_WTN, main = expression("T5 neuron vs WT neuron"),
  30. fdr = 0.01, fc = 2, size =0.4, #log2FC = 1
  31. palette = c("#B31B21", "#1465AC", "darkgray"),
  32. genenames = as.vector(t5N_WTN$gene),
  33. legend = "right", top = 0,
  34. font.label = c("bold", 11),
  35. font.legend = "bold",
  36. font.main = "bold",
  37. ggtheme = ggplot2::theme_minimal())
  38. ggsave("../plots/MA/t5n_WTN_ma.pdf", width = 6, height = 4)
  39. # WT vs WT nuc
  40. WT_WTNF <- read_tsv("nfWT_vs_WT_lfcshrk0_p0.01.tsv")
  41. WT_WTNF_ma <- ggmaplot(WT_WTNF, main = expression("WT nucleofected vs WT"),
  42. fdr = 0.01, fc = 2, size =0.4, #log2FC = 1,
  43. palette = c("#B31B21", "#1465AC", "darkgray"),
  44. genenames = as.vector(WT_WTNF$gene),
  45. legend = "right", top = 0,
  46. font.label = c("bold", 11),
  47. font.legend = "bold",
  48. font.main = "bold",
  49. ggtheme = ggplot2::theme_minimal())
  50. ggsave("../plots/MA/WT_WTNF_ma.pdf", width = 6, height = 4)
  51. # Volcano plots -----------------------------------------------------------
  52. # T5 volcano
  53. t5_iPSC_full <- read_tsv("../../lfcshrink_full_310724/edited_ipsc_vs_others_lfcshrink_full/t5_ipsc_vs_other_ipsc_lfcshrk_full.tsv")
  54. t5_iPSC_full$DE <- "NS"
  55. t5_iPSC_full$DE[t5_iPSC_full$log2FoldChange > 1 & t5_iPSC_full$padj<0.05] <- "Up"
  56. t5_iPSC_full$DE[t5_iPSC_full$log2FoldChange < -1 & t5_iPSC_full$padj<0.05] <- "Down"
  57. t5_top <- t5_iPSC_full %>%
  58. arrange(padj) %>%
  59. filter(!is.na(padj) & padj < 0.05) %>%
  60. filter(log2FoldChange > 1 | log2FoldChange < -1) %>%
  61. top_n(-10, padj)
  62. t5_volc <- ggplot(t5_iPSC_full, aes(x = log2FoldChange, y = -log10(padj), color = DE)) +
  63. geom_point(size = 0.5) +
  64. theme_minimal() +
  65. scale_color_manual(values = c("#1465AC", "darkgray", "#B31B21")) +
  66. geom_vline(xintercept = c(-1,1), col = "#333", linetype = "dashed") +
  67. geom_hline(yintercept = -log10(0.05), col = "#333", linetype = "dashed") +
  68. labs(title = "rs11610045 (Edit vs. background)") +
  69. theme(
  70. text = element_text(size = 10),
  71. plot.title = element_text(
  72. #family = "Arial", # Change to a standard font family (e.g., "Times", "Arial", "Helvetica")
  73. face = "plain", # Font face (e.g., "plain", "italic", "bold", "bold.italic")
  74. size = 10, # Font size
  75. color = "black" # Font color
  76. ),
  77. legend.position = "none"
  78. ) +
  79. geom_text(data = t5_top, aes(label = gene), vjust = 1, hjust = 1, size = 2.5)
  80. ggsave("~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/Figures/t5_iPSC_volcano.pdf", plot = t5_volc, width = 6, height = 5)
  81. # T5 neuron volcano
  82. t5_neuron_full <- read_tsv("../../lfcshrink_full_310724/edited_neurons_vs_other_lfcshrink_full/t5_neurons_vs_other_neurons_lfcshrk_full.tsv")
  83. t5_neuron_full$DE <- "NS"
  84. t5_neuron_full$DE[t5_neuron_full$log2FoldChange >1 & t5_neuron_full$padj < 0.05] <- "Up"
  85. t5_neuron_full$DE[t5_neuron_full$log2FoldChange < -1 & t5_neuron_full$padj < 0.05] <- "Down"
  86. t5N_top <- t5_neuron_full %>%
  87. arrange(padj) %>%
  88. filter(!is.na(padj) & padj < 0.05) %>%
  89. filter(log2FoldChange > 1 | log2FoldChange < -1) %>%
  90. top_n(-10, padj)
  91. t5N_volc <- ggplot(t5_neuron_full, aes(x = log2FoldChange, y = -log10(padj), color = DE)) +
  92. geom_point(size = 0.5) +
  93. theme_minimal() +
  94. scale_color_manual(values = c("#1465AC", "darkgray", "#B31B21")) +
  95. geom_vline(xintercept = c(-1,1), col = "#333", linetype = "dashed") +
  96. geom_hline(yintercept = -log10(0.05), col = "#333", linetype = "dashed") +
  97. theme(
  98. text = element_text(size = 10),
  99. plot.title = element_text(
  100. family = "Arial", # Change to a standard font family (e.g., "Times", "Arial", "Helvetica")
  101. face = "plain", # Font face (e.g., "plain", "italic", "bold", "bold.italic")
  102. size = 10, # Font size
  103. color = "black" # Font color
  104. ),
  105. legend.position = "none"
  106. ) +
  107. geom_text(data = t5N_top, aes(label = gene), vjust = 1, hjust = 1, size = 2.5)
  108. # Key gene & reversal intersect -------------------------------------------
  109. # T5 key gene & reversal
  110. t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv") #LINC00882 is DEG in logFC > 1 but not logFC > 0 ??
  111. t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
  112. t5_rvs_key_overlap_0 <- Reduce(intersect, list(t5_unique$gene, t5_rvs_0$gene))
  113. t5_rvs_key_overlap_1 <- Reduce(intersect, list(t5_unique$gene, t5_rvs_1$gene))
  114. t5_rvs_all <- setdiff(Reduce(intersect, list(t5_genes$gene, t5_rvs_1$gene)), c("ADARB2", "NEGR1")) #ADARB2 - off target effect
  115. write.table(t5_rvs_key_overlap_0, file = "Key_genes/t5_rvs0_key_overlap.txt", sep = "\t", row.names = FALSE)
  116. write.table(t5_rvs_key_overlap_1, file = "Key_genes/t5_rvs1_key_overlap.txt", sep = "\t", row.names = FALSE)
  117. t5_key_rvs <- t5_unique[t5_unique$gene %in% t5_rvs_key_overlap_1,]
  118. t5_key_rvs <- t5_genes[t5_genes$gene %in% t5_rvs_all,]
  119. # Group 2 T5 reversal -----------------------------------------------------
  120. g2_T5_0 <- read_tsv("../../../rna_seq_analysis_2324/targeted_analysis/results/group2/t5_vs_all_lfcshrk0_p0.01.tsv")
  121. g2_T5_1 <- read_tsv("../../../rna_seq_analysis_2324/targeted_analysis/results/group2/t5_vs_all_lfcshrk1_p0.01.tsv")
  122. t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv") #LINC00882 is DEG in logFC > 1 but not logFC > 0 ??
  123. t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
  124. g2_t5_rvs_key_overlap_0 <- Reduce(intersect, list(g2_T5_0$gene, t5_rvs_0$gene))
  125. g2_t5_rvs_key_overlap_1 <- Reduce(intersect, list(g2_T5_1$gene, t5_rvs_1$gene))
  126. g2_t5_rvs_key_overlap_1_unique <- Reduce(intersect, list(g2_T5_1$gene, t5_rvs_1$gene, t5_unique$gene))
  127. g2_t5_key_rvs <- g2_T5_1[g2_T5_1$gene %in% g2_t5_rvs_key_overlap_1,]
  128. g2_t5_key_rvs_unique <- g2_T5_1[g2_T5_1$gene %in% g2_t5_rvs_key_overlap_1_unique,]
  129. T5_all_vs_g2 <- Reduce(intersect, list(t5_all_1$gene, g2_T5_1$gene))
  130. # Bar plots gene reversal -------------------------------------------------
  131. # T5
  132. t5_bar <- t5_key_rvs[,-c(2,4,5,6,7)]
  133. t5_bar_mean <- aggregate(log2FoldChange~gene,t5_bar,mean)
  134. t5_bar_mean$target <- 'T5'
  135. ggplot(t5_bar_mean, aes(x = gene, y = log2FoldChange, fill = gene)) +
  136. geom_bar(stat = "identity", width = 0.8, fill = "grey") +
  137. theme_minimal() +
  138. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  139. labs(title = "T5 key genes")
  140. t5_rvs_bar <- t5_rvs_0[t5_rvs_0$gene %in% t5_rvs_key_overlap_0,]
  141. t5_rvs_bar <- t5_rvs_bar[, -c(2,4,5,6)]
  142. t5_rvs_bar$target <- 'T5_RVS'
  143. ggplot(t5_rvs_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
  144. geom_bar(stat = "identity", width = 0.8, fill = "grey") +
  145. theme_minimal() +
  146. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  147. labs(title = "T5 key genes")
  148. t5_both <- rbind(t5_bar_mean, t5_rvs_bar)
  149. t5_both <- t5_both[t5_both$gene %in% t5_both$gene[duplicated(t5_both$gene)],]
  150. t5_both <- t5_both[t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
  151. t5_both <- t5_both[t5_both$gene != "POU3F4",]
  152. ggplot(t5_both, aes(x = gene, y = log2FoldChange, fill = target)) +
  153. geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
  154. theme_minimal() +
  155. scale_fill_manual(values = get_pal("Korora")) +
  156. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  157. labs(title = "T5 key genes")
  158. ggsave("../plots/T5_key_log2fc_bar.pdf", width = 6, height = 4)
  159. # Group 2 T5
  160. g2_t5_bar <- g2_t5_key_rvs[,-c(2,4,5,6)]
  161. g2_t5_bar_unique <- g2_t5_key_rvs_unique[,-c(2,4,5,6)]
  162. g2_t5_bar_unique$target <- 'T5'
  163. g2_t5_bar_mean <- aggregate(log2FoldChange~gene,g2_t5_bar,mean)
  164. g2_t5_bar_mean$target <- 'T5'
  165. ggplot(g2_t5_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
  166. geom_bar(stat = "identity", width = 0.8, fill = "grey") +
  167. theme_minimal() +
  168. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  169. labs(title = "T5 key genes")
  170. ggplot(g2_t5_bar_unique, aes(x = gene, y = log2FoldChange, fill = gene)) +
  171. geom_bar(stat = "identity", width = 0.8, fill = "grey") +
  172. theme_minimal() +
  173. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  174. labs(title = "T5 key genes")
  175. g2_t5_rvs_bar <- t5_rvs_1[t5_rvs_1$gene %in% g2_t5_rvs_key_overlap_1,]
  176. g2_t5_rvs_bar <- g2_t5_rvs_bar[, -c(2,4,5,6)]
  177. g2_t5_rvs_bar$target <- 'T5_RVS'
  178. ggplot(g2_t5_rvs_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
  179. geom_bar(stat = "identity", width = 0.8, fill = "grey") +
  180. theme_minimal() +
  181. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  182. labs(title = "T5 key genes")
  183. g2_t5_both <- rbind(g2_t5_bar_mean, g2_t5_rvs_bar)
  184. g2_t5_both <- g2_t5_both[g2_t5_both$gene %in% g2_t5_both$gene[duplicated(g2_t5_both$gene)],]
  185. g2_t5_both <- g2_t5_both[g2_t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
  186. g2_t5_both <- g2_t5_both[g2_t5_both$gene != "POU3F4",]
  187. ggplot(g2_t5_both, aes(x = gene, y = log2FoldChange, fill = target)) +
  188. geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
  189. theme_minimal() +
  190. scale_fill_manual(values = get_pal("Korora")) +
  191. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size = 4)) +
  192. labs(title = "T5 key genes")
  193. ggsave("../plots/g2_T5_key_log2fc_bar.pdf", width = 8, height = 4)
  194. write.table(g2_t5_both, file = "Key_genes/G2_T5_reversed.txt", sep = "\t", row.names = FALSE)
  195. g2_t5_both_uniq <- rbind(g2_t5_bar_unique, g2_t5_rvs_bar)
  196. g2_t5_both_uniq <- g2_t5_both_uniq[g2_t5_both_uniq$gene %in% g2_t5_both_uniq$gene[duplicated(g2_t5_both_uniq$gene)],]
  197. #g2_t5_both_uniq <- g2_t5_both[g2_t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
  198. #g2_t5_both_uniq <- g2_t5_both[g2_t5_both$gene != "POU3F4",]
  199. ggplot(g2_t5_both_uniq, aes(x = gene, y = log2FoldChange, fill = target)) +
  200. geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
  201. theme_minimal() +
  202. scale_fill_manual(values = get_pal("Korora")) +
  203. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  204. labs(title = "T5 key genes")
  205. # iPDGC neuron DEG log2FC plots -------------------------------------------
  206. # T5 neuron
  207. t5_iPDGC <- read.table("edit_neuron_vs_WTN/T5_neuron_iPDGC.txt", header = TRUE, sep = "\t")
  208. t5_iPDGC_neuron_bar <- ggplot(t5_iPDGC, aes(x = gene, y = log2FoldChange, fill = gene)) +
  209. geom_bar(stat = "identity", width = 0.8, fill = "#85BEDC") +
  210. #scale_fill_manual(values = rep(get_pal("Kotare"),2)) +
  211. #scale_fill_brewer(palette = "BrBG") +
  212. theme_minimal() +
  213. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1))
  214. ggsave("../plots/t5_iPDGC_neuron_bar.pdf", width = 6, height = 4)
  215. # iPSC Micro-C TPM --------------------------------------------------------
  216. t5_TPM <- read.table("targets_vs_nfwt/T5_microC_genes_TPM.txt", header = TRUE, sep = "\t")
  217. t5_TPM_long <- t5_TPM %>%
  218. gather(target, TPM, T5.4:NFWT.6, factor_key = TRUE)
  219. t5_TPM_long$target <- sub("T.*","T5", t5_TPM_long$target)
  220. t5_TPM_long$target <- sub("NFWT.*","NFWT",t5_TPM_long$target)
  221. t5_microC_TPM <- ggplot(t5_TPM_long, aes(x = target, y = TPM, fill = target)) +
  222. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  223. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  224. scale_fill_manual(values = c("grey","#85BEDC")) +
  225. facet_grid(. ~ Gene) +
  226. theme_bw() +
  227. theme(legend.position = "none")
  228. ggsave("../plots/t5_microC_TPM.pdf", width = 5, height = 4)
  229. # Pluripotency Markers --------------------------------------------------------
  230. rs116_TPM <- read_csv("../../rsem/Pluripotency/rs11610045_pluri_TPM.csv")
  231. rs116_TPM$state <- factor(rs116_TPM$state, levels = c("Background", "Target", "RVS"))
  232. proliferation <- rs116_TPM[rs116_TPM$Gene %in% c("SOX2", "NANOG", "SALL4", "ZIC1", "UTF1"),]
  233. proliferation_bar <- ggplot(proliferation, aes(x = state, y = TPM, fill = state)) +
  234. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  235. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
  236. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  237. facet_grid(. ~ Gene) +
  238. theme_bw() +
  239. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
  240. proliferation_bar
  241. ggsave("../../2025_plots/rs116_pluri_TPM.pdf", width = 10, height = 4)
  242. OCT4 <- rs116_TPM[rs116_TPM$Gene %in% c("OCT4"),]
  243. OCT4_bar <- ggplot(OCT4, aes(x = state, y = TPM, fill = state)) +
  244. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  245. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  246. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  247. facet_grid(. ~ Gene) +
  248. theme_bw() +
  249. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
  250. ylim(0,3500)
  251. OCT4_bar
  252. ggsave("../../2025_plots/rs116_OCT4_TPM.pdf", width = 3, height = 5)
  253. states <- rs116_TPM[rs116_TPM$Gene %in% c("UTF1","ZIC1","NANOG","IDO1"),]
  254. states_bar <- ggplot(states, aes(x = Gene, y = TPM, fill = Gene)) +
  255. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  256. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  257. scale_fill_manual(values = get_pal("Kotare")) +
  258. theme_bw() +
  259. theme(legend.position = "none")
  260. ggsave("../../2025_plots/UTF1_ZIC1_bar.pdf", width = 7, height = 4)
  261. states_line <- ggplot(states, aes(x = Gene, y = TPM, group = `Target ID`)) +
  262. geom_line(position = position_dodge(0.1), colour = "grey") +
  263. geom_point(aes(fill = Gene), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
  264. scale_fill_manual(values = get_pal("Kotare")) +
  265. theme_bw() +
  266. theme(legend.position = "none")
  267. states_line
  268. ggsave("../../2025_plots/UTF1_ZIC1_line.pdf", width = 7, height = 4)
  269. # rs116 (and rvs) vs background
  270. all_TPM <- read_csv("../../rsem/Pluripotency/all_pluri_TPM.csv")
  271. all_TPM$state <- factor(all_TPM$State, levels = c("Background", "Target", "RVS"))
  272. proliferation <- all_TPM[all_TPM$Gene %in% c("SOX2", "NANOG", "SALL4", "ZIC1", "UTF1"),]
  273. proliferation_bar <- ggplot(proliferation, aes(x = State, y = TPM, fill = State)) +
  274. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  275. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
  276. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  277. facet_grid(. ~ Gene) +
  278. theme_bw() +
  279. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
  280. proliferation_bar
  281. ggsave("../../2025_plots/all_pluri_TPM.pdf", width = 10, height = 4)
  282. OCT4 <- all_TPM[all_TPM$Gene %in% c("OCT4"),]
  283. OCT4_bar <- ggplot(OCT4, aes(x = State, y = TPM, fill = State)) +
  284. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  285. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  286. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  287. facet_grid(. ~ Gene) +
  288. theme_bw() +
  289. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
  290. ylim(0,3500)
  291. OCT4_bar
  292. ggsave("../../2025_plots/all_OCT4_TPM.pdf", width = 3, height = 5)
  293. states <- all_TPM[all_TPM$Gene %in% c("UTF1","ZIC1","NANOG","IDO1"),]
  294. states_bar <- ggplot(states, aes(x = Gene, y = TPM, fill = Gene)) +
  295. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  296. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  297. scale_fill_manual(values = get_pal("Kotare")) +
  298. theme_bw() +
  299. theme(legend.position = "none")
  300. ggsave("../../2025_plots/all_UTF1_ZIC1_bar.pdf", width = 7, height = 4)
  301. states_line <- ggplot(states, aes(x = Gene, y = TPM, group = `Target ID`)) +
  302. geom_line(position = position_dodge(0.1), colour = "grey") +
  303. geom_point(aes(fill = Gene), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
  304. scale_fill_manual(values = get_pal("Kotare")) +
  305. theme_bw() +
  306. theme(legend.position = "none")
  307. ggsave("../../2025_plots/all_UTF1_ZIC1_line.pdf", width = 7, height = 4)
  308. # Neuronal Markers --------------------------------------------------------
  309. neuron <- read.table("Neuronal_markers/neuronal_markers.txt", header = TRUE, sep = "\t") %>%
  310. mutate(State = "Neuron")
  311. neuron_noTUBB <- neuron[neuron$Gene %in% c("MAP2","POU3F2","SNAP25","SYN1"),]
  312. neuron_bar <- ggplot(neuron, aes(x = Gene, y = TPM, fill = Gene)) +
  313. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  314. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  315. scale_fill_manual(values = get_pal("Kakapo")) +
  316. #ylab("log10 expression (TPM)") +
  317. theme_bw() +
  318. theme(legend.position = "none")
  319. neuron_new <- read.table("Neuronal_markers/neuron_markers_280624.txt", header = TRUE, sep = "\t") %>%
  320. mutate(State = "Neuron")
  321. nn_noTUBB <- neuron_new[neuron_new$Gene %in% c("MAP2","POU3F2","SNAP25","SYN1"),]
  322. neuron_new$Target <- sub("\\.genes.*", "", neuron_new$Target)
  323. colnames(neuron_new)[1] <- "seq_ID"
  324. neuron_ID <- read.table("../../rsem/output/Neuron_RNAseqID_T5.txt", header = TRUE, sep = "\t")
  325. neuron_new <- neuron_new %>%
  326. inner_join(neuron_ID)
  327. neuron_new_bar <- neuron_new %>%
  328. filter(Edit %in% c("BG", "T5")) %>%
  329. ggplot(aes(x = Gene, y = TPM, fill = Edit)) +
  330. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  331. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  332. scale_fill_manual(
  333. values = c("BG" = "#CABEE9", "T5" = "#E88471"),
  334. labels = c("BG" = "Background", "T5" = "Target")
  335. ) +
  336. ylab("log10 expression (TPM)") +
  337. theme_bw() +
  338. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "right")
  339. neuron_new_bar + scale_y_continuous(trans='log10') # only if want to log transform the y axis
  340. neuron_new_bar <- ggplot(neuron_new, aes(x = Gene, y = TPM, fill = Edit)) +
  341. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  342. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  343. scale_fill_manual(values = c(colours <- c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80"))) +
  344. ylab("log10 expression (TPM)") +
  345. theme_bw() +
  346. theme(legend.position = "right")
  347. neuron_new_bar + scale_y_continuous(trans='log10') #only did if want to log transform the y axis
  348. ggsave("../plots/Neuron_marker_targets_bar_log10.pdf", width = 7, height = 4)
  349. neuron_line <- neuron_new[neuron_new$Gene %in% c("MAP2","TUBB3"),]
  350. neuron_line <- ggplot(neuron_new, aes(x = Gene, y = TPM, group = seq_ID, fill = Edit)) +
  351. geom_line(position = position_dodge(0.1), colour = "#565052", alpha = 0.4) +
  352. geom_point(aes(fill = Edit), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
  353. scale_fill_manual(values = c(colours <- c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80"))) +
  354. ylab("log10 expression (TPM)") +
  355. theme_bw() +
  356. theme(legend.position = "right")
  357. neuron_line + scale_y_continuous(trans='log10')
  358. neuron_line <- neuron_new[neuron_new$Gene %in% c("MAP2","TUBB3"),]
  359. neuron_line <- neuron_new %>%
  360. filter(Edit %in% c("BG", "T5")) %>%
  361. ggplot(aes(x = Gene, y = TPM, group = seq_ID, fill = Edit)) +
  362. geom_line(position = position_dodge(0.1), colour = "#565052", alpha = 0.4) +
  363. geom_point(aes(fill = Edit), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
  364. scale_fill_manual(
  365. values = c("BG" = "#CABEE9", "T5" = "#E88471"),
  366. labels = c("BG" = "Background", "T5" = "Target")
  367. ) +
  368. ylab("log10 expression (TPM)") +
  369. theme_bw() +
  370. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "right")
  371. neuron_line + scale_y_continuous(trans='log10')
  372. # Target 5 iPSC vs reverted ------------------------------------------------
  373. t5_all <- read.table("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv", header = TRUE)
  374. t5_all <- t5_all[,-c(2,4,5,6,7)]
  375. t5_all$target <- 'T5'
  376. t5_all <- t5_all %>% filter(log2FoldChange > 1 | log2FoldChange < -1)
  377. t5_all_OT <- t5_all[!(t5_all$gene %in% T5_OT$Genes),]
  378. write.table(t5_all, "t5_all.txt", sep = "\t")
  379. write.table(t5_all_OT, "t5_all_OT.txt", sep = "\t", row.names = FALSE)
  380. t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv")
  381. t5_rvs_0 <- t5_rvs_0[,-c(2,4,5,6)]
  382. t5_rvs_0$target <- 'T5_RVS'
  383. t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
  384. t5_rvs_1 <- t5_rvs_1[,-c(2,4,5,6)]
  385. t5_rvs_1$target <- 'T5_RVS'
  386. t5_rvs_all_overlap_1 <- Reduce(intersect, list(t5_all_OT$gene, t5_rvs_1$gene))
  387. t5_rvs_all <- rbind(t5_all_OT, t5_rvs_1)
  388. t5_rvs_bar <- t5_rvs_1[t5_rvs_1$gene %in% t5_rvs_all_overlap_1,]
  389. t5_both <- rbind(t5_all_OT, t5_rvs_bar)
  390. t5_both <- t5_both[t5_both$gene %in% t5_both$gene[duplicated(t5_both$gene)],]
  391. t5_both <- t5_both[t5_both$gene != "NEGR1",]
  392. ref_gene <- read.table("../../gene_reference_sorted.txt", header = TRUE)
  393. colnames(ref_gene)[5] = "gene"
  394. T5_both_coords <- merge(x = t5_both, y = ref_gene, by = "gene", all.x = TRUE)
  395. write.table(T5_both_coords, file = "../../../120623/edited_ipsc_vs_other_edited_ipsc/T5_vs_all_RVS.txt", sep = "\t", row.names = FALSE)
  396. t5_both_ordered <- t5_both %>%
  397. arrange(target, desc(log2FoldChange)) %>%
  398. mutate(gene = factor(gene, levels = unique(gene)))
  399. ggplot(t5_both_ordered, aes(x = gene, y = log2FoldChange, fill = target)) +
  400. geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
  401. theme_minimal() +
  402. scale_fill_manual(values = c("#9CCB86","#0D4A80")) +
  403. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size=6)) +
  404. theme(legend.position = "none") +
  405. geom_hline(yintercept = c(1,-1),
  406. color = "black", linewidth = 0.3) +
  407. scale_y_continuous(breaks = seq(floor(min(t5_both_ordered$log2FoldChange)), ceiling(max(t5_both_ordered$log2FoldChange)), by = 1))
  408. ggsave("../plots/T5_vs_alliPSC_RVS_ordered.pdf", width = 10, height = 6)
  409. # Specific genes TPM iPSC------------------------------------------------------
  410. iPSC_ID <- read.table("../../rsem/output/iPSC/iPSC_ID.txt", header = TRUE, sep = "\t")
  411. T5_keygenes <- read.table("../../rsem/output/iPSC/T5_keygenes_TPM.txt", header = TRUE, sep = "\t")
  412. T5_integrin <- T5_keygenes[T5_keygenes$Gene != "PDGFB",]
  413. T5_order <- c("WTNF", "T5", "T5-RVS")
  414. T5_keygenes$State <- factor(T5_keygenes$State, levels = T5_order)
  415. T5_keygenes_TPM_bar <- ggplot(T5_keygenes, aes(x = State, y = TPM, fill = State)) +
  416. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  417. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
  418. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  419. facet_grid(. ~ Gene) +
  420. ylab("log10 expression (TPM)") +
  421. theme_bw() +
  422. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
  423. T5_keygenes_TPM_bar + scale_y_continuous(trans='log10')
  424. ggsave("../plots/T5_keygenes_TPM_bar.pdf", width = 8, height = 4)
  425. T5_order <- c("WTNF", "T5", "T5-RVS")
  426. T5_integrin$State <- factor(T5_integrin$State, levels = T5_order)
  427. T5_integrin_TPM <- ggplot(T5_integrin, aes(x = State, y = TPM, fill = State)) +
  428. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  429. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
  430. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  431. facet_grid(. ~ Gene) +
  432. ylab("log10 expression (TPM)") +
  433. theme_bw() +
  434. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
  435. T5_integrin_TPM + scale_y_continuous(trans='log10')
  436. ggsave("../plots/T5_integrin_TPM_bar.pdf", width = 10, height = 5)
  437. microC_TPM <- read.table("../../rsem/output/iPSC/t5_microC_tpm.txt", sep = "\t")
  438. microC_TPM$V1 <- sub("\\.genes.*", "", microC_TPM$V1)
  439. colnames(microC_TPM)[1] <- "seq_ID"
  440. microC_TPM <- microC_TPM %>%
  441. inner_join(iPSC_ID)
  442. microC_TPM_T5 <- microC_TPM %>% filter(Edit == "T5" | Edit == "WTNF")
  443. microC_arhgap22 <- microC_TPM %>% filter(V2 == "ARHGAP22")
  444. # grouping T5 vs. all others as background
  445. microC_group <- microC_TPM %>%
  446. mutate(state = case_when(
  447. Edit == "T5" ~ "Target",
  448. Edit == "T5-RVS" ~ "RVS",
  449. TRUE ~ "Background"
  450. ))
  451. microC_arhgap22 <- microC_group %>% filter(V2 == "ARHGAP22")
  452. #ordering x-axis on plot
  453. microC_arhgap22$state <- factor(microC_arhgap22$state, levels = c("Background", "Target", "RVS"))
  454. microC_group$state <- factor(microC_group$state, levels = c("Background", "Target", "RVS"))
  455. T5_microC <- ggplot(microC_group, aes(x = state, y = V6, fill = state)) +
  456. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  457. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
  458. scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
  459. theme_bw() +
  460. facet_grid(. ~ V2) +
  461. theme(legend.position = "right") +
  462. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  463. xlab("") +
  464. ylab("log10 expression (TPM)")
  465. T5_microC + scale_y_continuous(trans='log10')
  466. ggsave("../plots/T5_microC_3genes.pdf", width = 8, height = 6)
  467. T5_trans <- read.table("../../rsem/output/iPSC/t5_transPD_TPM.txt", header = FALSE, sep = "\t")
  468. T5_trans$V1 <- sub("\\.genes.*", "", T5_trans$V1)
  469. colnames(T5_trans)[1] <- "seq_ID"
  470. colnames(T5_trans)[6] <- "TPM"
  471. colnames(T5_trans)[2] <- "gene"
  472. T5_trans <- T5_trans %>%
  473. inner_join(iPSC_ID)
  474. T5_trans <- T5_trans %>%
  475. mutate(state = case_when(
  476. Edit == "T5" ~ "Target",
  477. Edit == "T5-RVS" ~ "Reverse",
  478. Edit == "WTNF" ~"WTNF",
  479. TRUE ~ "Background"
  480. ))
  481. T5_trans <- T5_trans[!grepl('Background', T5_trans$state),]
  482. T5_trans$gene[T5_trans$gene == 'ENST00000372080.8'] <- 'CEL'
  483. T5_trans$gene[T5_trans$gene == 'ENST00000260356.6,ENST00000397591.2,ENST00000466755.1,ENST00000484734.1,ENST00000490247.1,ENST00000497720.1,ENST00000559746.1,ENST00000560894.1'] <- 'THBS1'
  484. T5_trans$gene[T5_trans$gene == 'ENST00000331163.11,ENST00000381551.8,ENST00000440375.1,ENST00000455790.5'] <- 'PDGFB'
  485. T5_order <- c("WTNF", "Target", "Reverse")
  486. T5_trans$state <- factor(T5_trans$state, levels = T5_order)
  487. T5_trans_plot <- ggplot(T5_trans, aes(x = state, y = TPM, fill = state)) +
  488. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  489. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
  490. scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
  491. theme_bw() +
  492. facet_grid(. ~ gene) +
  493. theme(legend.position = "none") +
  494. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  495. xlab("") +
  496. ylab("log10 expression (TPM)")
  497. T5_trans_plot + scale_y_continuous(trans='log10')
  498. ggsave("../plots/T5_trans_TPM.pdf", width = 8, height = 6)
  499. # Neuron DEG TPM --------------------------------------------------------------
  500. neuron_ID <- read.table("../../rsem/output/Neuron_RNAseqID_edit.txt", header = TRUE, sep = "\t")
  501. TMEM175 <- read.table("../../rsem/output/iPSC/TMEM175.txt", sep = "\t")
  502. TMEM175_bar <- ggplot(TMEM175, aes(x = V2, y = V6)) +
  503. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  504. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  505. scale_fill_manual(values = get_pal("Kakapo")) +
  506. theme_bw() +
  507. theme(legend.position = "none")
  508. TMEM175_bar
  509. XPO6 <- read.table("../../rsem/output/rsem_neuron/XPO6_TPM.txt", sep = "\t")
  510. XPO6$V1 <- sub("\\.genes.*", "", XPO6$V1)
  511. colnames(XPO6)[1] <- "seq_ID"
  512. XPO6 <- XPO6 %>%
  513. inner_join(neuron_ID)
  514. XPO6_bar <- ggplot(XPO6, aes(x = Edit, y = V6)) +
  515. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  516. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  517. scale_fill_manual(values = get_pal("Kakapo")) +
  518. theme_bw() +
  519. theme(legend.position = "none")
  520. XPO6_bar
  521. SYNJ1 <- read.table("../../rsem/output/rsem_neuron/SYNJ1_TPM.txt", sep = "\t")
  522. SYNJ1$V1 <- sub("\\.genes.*", "", SYNJ1$V1)
  523. colnames(SYNJ1)[1] <- "seq_ID"
  524. SYNJ1 <- SYNJ1 %>%
  525. inner_join(neuron_ID)
  526. SYNJ1_bar <- ggplot(SYNJ1, aes(x = Edit, y = V6)) +
  527. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  528. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  529. scale_fill_manual(values = get_pal("Kakapo")) +
  530. theme_bw() +
  531. theme(legend.position = "none")
  532. SYNJ1_bar
  533. T5_neuron_dopa <- read.table("../../rsem/output/rsem_neuron/T5_neuron_dopa.txt", sep = "\t")
  534. T5_neuron_dopa$V1 <- sub("\\.genes.*", "", T5_neuron_dopa$V1)
  535. colnames(T5_neuron_dopa)[1] <- "seq_ID"
  536. T5_neuron_dopa <- T5_neuron_dopa %>%
  537. inner_join(neuron_ID)
  538. T5_dopa_group <- T5_neuron_dopa %>%
  539. mutate(state = case_when(
  540. Edit == "T5" ~ "Target",
  541. TRUE ~ "Background"
  542. ))
  543. T5_neuron_dopa_bar <- ggplot(T5_dopa_group, aes(x = state, y = V6, fill = state)) +
  544. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  545. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  546. scale_fill_manual(values = get_pal("Kakapo")) +
  547. facet_grid(. ~ V2) +
  548. xlab("") +
  549. #ylab("log10 expression (TPM)") +
  550. theme_bw() +
  551. theme(legend.position = "none")
  552. T5_neuron_dopa_bar #+ scale_y_continuous(trans='log10')
  553. ggsave("../plots/T5_neuron_dopaminegenes.pdf", width = 8, height = 6)
  554. CNTN1 <- read.table("neuron_vs_targets/CNTN1_TPM.txt", header = TRUE, sep = "\t")
  555. CNTN1_T8 <- CNTN1[CNTN1$Target %in% c("T8","WT"),]
  556. CNTN1_bar <- ggplot(CNTN1_T8, aes(x = Target, y = TPM, fill = Target)) +
  557. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  558. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  559. scale_fill_manual(values = c("#E6007E","grey")) +
  560. theme_bw() +
  561. theme(legend.position = "none") +
  562. xlab("") +
  563. ylab("CNTN1 TPM")
  564. CNTN1_bar
  565. ggsave("../plots/CNTN1_bar.pdf", width = 3, height = 4)
  566. # looking at cis genes for T5 (3)
  567. NFAT2CIP <- read.table("../../rsem/output/rsem_neuron/NFATC2IP_neuron.txt", sep = "\t")
  568. NFAT2CIP$V1 <- gsub(".genes.results:ENSG00000176953.13", "", as.character(NFAT2CIP$V1))
  569. colnames(NFAT2CIP)[1] <- "seq_ID"
  570. NFAT2CIP <- NFAT2CIP %>%
  571. inner_join(neuron_ID)
  572. NFAT2CIP_bar <- ggplot(NFAT2CIP, aes(x = Edit, y = V6, fill = Edit)) +
  573. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  574. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  575. scale_fill_manual(values = c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80")) +
  576. theme_bw() +
  577. theme(legend.position = "none") +
  578. xlab("Edit") +
  579. ylab("NFAT2CIP TPM")
  580. NFAT2CIP_bar
  581. # Off-target analysis ----------------------------------------------------
  582. T5_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_T5_somatic_snvs/KOLF2_T5.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
  583. T5_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_T5_somatic_indel/KOLF2_T5.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
  584. T5_OT <- merge(T5_OT_indel, T5_OT_SNV, all = TRUE)
  585. write.table(T5_OT, "T5_OT.txt", sep = "\t", row.names = FALSE)
  586. T5_OT_genes <- T5_OT[,15, drop = FALSE]
  587. T5_OT_genes <- distinct(T5_OT_genes)
  588. t5_all <- read.table("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv", header = TRUE)
  589. t5_all <- t5_all[,-c(2,4,5,6,7)]
  590. t5_all$target <- 'T5'
  591. #keep only genes that are likely OT effects
  592. t5_genes_OT <- t5_all[t5_all$gene %in% T5_OT$Genes, ]
  593. t5_genes_OT_2 <- merge(t5_all, T5_OT, by.x = "gene", by.y = "Genes")
  594. t5_rvs_OT <- rbind(t5_genes_OT, t5_rvs_0)
  595. t5_rvs_OT <- t5_rvs_OT[t5_rvs_OT$gene %in% t5_rvs_OT$gene[duplicated(t5_rvs_OT$gene)],]
  596. ggplot(t5_rvs_OT, aes(x = gene, y = log2FoldChange, fill = target)) +
  597. geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.5) +
  598. theme_minimal() +
  599. scale_fill_manual(values = c("#9CCB86","#0D4A80")) +
  600. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size=8)) +
  601. theme(legend.position = "none") +
  602. geom_hline(yintercept = c(1,-1),
  603. color = "black", linewidth = 0.3)
  604. ggsave("../plots/T5_off-target_reversed.pdf", width = 5, height = 3)
  605. # Upset plots - T5 off target
  606. T5_OT_indel$Source <- "T5_indel"
  607. T5_OT_SNV$Source <- "T5_SNV"
  608. T5_RVS_OT_indel$Source <- "RVS_indel"
  609. T5_RVS_OT_SNV$Source <- "RVS_SNV"
  610. T5_OT_indel <- T5_OT_indel %>% mutate(QUAL = as.character(QUAL))
  611. T5_OT_SNV <- T5_OT_SNV %>% mutate(QUAL = as.character(QUAL))
  612. T5_RVS_OT_indel <- T5_RVS_OT_indel %>% mutate(QUAL = as.character(QUAL))
  613. T5_RVS_OT_SNV <- T5_RVS_OT_SNV %>% mutate(QUAL = as.character(QUAL))
  614. T5_OT <- bind_rows(T5_OT_indel, T5_OT_SNV, T5_RVS_OT_indel, T5_RVS_OT_SNV)
  615. target_NFWT <- read.table("targets_vs_nfwt/Targets_NFWT_logFC_long.txt", header = TRUE, sep = "\t")
  616. split <- split(T5_OT, f = T5_OT$Source)
  617. targetlist <- list("Introduced Indel" = (split$T5_indel$Genes),
  618. "Introduced SNV" = (split$T5_SNV$Genes),
  619. "Introduced SNV (RVS)" = (split$RVS_SNV$Genes),
  620. "Introduced Indel (RVS)" = (split$RVS_indel$Genes))
  621. OT_overlap <- UpSetR::upset(fromList(targetlist), sets.bar.color = "darkgrey", main.bar.color = "#9CCB86", nsets = 4,
  622. mainbar.y.label = "Overlapping OT effects (#)", #empty.intersections = "on",
  623. order.by = "freq",
  624. point.size = 2.5, line.size = 0.5, matrix.color = "gray7", sets.x.label = "OT effects (#)",
  625. text.scale = c(1.25,1.25,1.05,1.05,1.25,1.25))
  626. count <- as.data.frame(table(T5_OT$Genes))
  627. # TPM plot
  628. T5_OT_genes_TPM <- read.table("../../rsem/output/iPSC/OT_genes_TPM.txt", sep = "\t")
  629. T5_OT_genes_TPM$V1 <- sub("\\.genes.*", "", T5_OT_genes_TPM$V1)
  630. colnames(T5_OT_genes_TPM)[1] <- "seq_ID"
  631. T5_OT_genes_TPM <- T5_OT_genes_TPM %>%
  632. inner_join(iPSC_ID)
  633. T5_OT_genes_TPM <- T5_OT_genes_TPM %>%
  634. mutate(state = case_when(
  635. Edit == "T5" ~ "T5 edit",
  636. Edit == "T5-RVS" ~ "T5 RVS",
  637. TRUE ~ "Background"
  638. ))
  639. T5_order <- c("Background", "T5 edit", "T5 RVS")
  640. T5_OT_genes_TPM$state <- factor(T5_OT_genes_TPM$state, levels = T5_order)
  641. T5_OT_genes <- ggplot(T5_OT_genes_TPM, aes(x = state, y = V6, fill = state)) +
  642. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  643. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  644. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  645. facet_grid(. ~ V2) +
  646. theme_bw() +
  647. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
  648. ylab("Log2FC")
  649. ggsave("../plots/VIPR2_TPM.pdf", VIPR2, width = 6, height = 4)
  650. # T5 RVS
  651. T5_RVS_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_T5-5_RVS.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
  652. T5_RVS_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_T5-5_RVS.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
  653. T5_RVS_OT <- merge(T5_RVS_OT_indel, T5_RVS_OT_SNV, all = TRUE)
  654. overlap_T5 <- intersect(T5_OT$POS, T5_RVS_OT$POS)
  655. # WT-NF
  656. WTNF_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_WT-nucCTRL-A2.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
  657. WTNF_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_WT-nucCTRL-A2.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
  658. WTNF_OT <- merge(WTNF_OT_indel, WTNF_OT_SNV, all = TRUE)
  659. write.table(WTNF_OT, "~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/WTNF_OT.txt", row.names = FALSE, sep = "\t")
  660. OTs <- list(WTNF_OT, T5_OT, T7_OT, T6_OT, T8_OT)
  661. overlap <- Reduce(intersect, lapply(OTs, function(df) df$POS))
  662. print_list(overlap)
  663. print_list <- function(lst) {
  664. for (item in lst) {
  665. if (is.character(item)) {
  666. cat(item, "\n")
  667. } else {
  668. cat(item, "\n")
  669. }
  670. }
  671. }
  672. # Methylation - T5 reversed genes -----------------------------------------
  673. T5_DMR <- as.data.frame(read.table("../../Methylation_240724/KOLF2-WT-NF_vs_T5_target-diff-genes-DMRs/annotated_DMRs/dmrs_table_annotated.bed", header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
  674. T5_DMR <- T5_DMR[,-c(4,5,9)]
  675. T5_RVS_DMR <- as.data.frame(read.table("../../Methylation_240724/KOLF2-WT-NF_vs_T5-RVS_target-diff-genes-DMRs/annotated_DMRs/dmrs_table_annotated.bed", header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
  676. T5_RVS_DMR <- T5_RVS_DMR[,-c(1,4,5,8,9,13)]
  677. T5_and_RVS_DMR <- merge(T5_DMR, T5_RVS_DMR, by = c("start", "end", "annotation_chr", "annotation_start", "annotation_end", "biotype", "gene"), all.x = TRUE, all.y = TRUE, suffixes = c("_T5", "_RVS")) %>%
  678. distinct() %>%
  679. mutate(T5_Difference = meanMethy2_T5 - meanMethy1_T5)
  680. T5_and_RVS_DMR <- T5_and_RVS_DMR %>%
  681. mutate(T5_RVS_Difference = meanMethy2_RVS - meanMethy1_RVS)
  682. write.table(T5_and_RVS_DMR, file = "../../Methylation_240724/T5_and_RVS_DMR.txt", sep = "\t", row.names = FALSE)
  683. # VIPR2 DMR
  684. VIPR2 <- read.table("../../rsem/output/iPSC/VIPR2_TPM.txt", sep = "\t")
  685. VIPR2$V1 <- sub("\\.genes.*", "", VIPR2$V1)
  686. colnames(VIPR2)[1] <- "seq_ID"
  687. VIPR2 <- VIPR2 %>%
  688. inner_join(iPSC_ID)
  689. VIPR2_T5 <- VIPR2 %>%
  690. mutate(state = case_when(
  691. Edit == "T5" ~ "T5 edit",
  692. Edit == "T5-RVS" ~ "T5 RVS",
  693. TRUE ~ "Background"
  694. ))
  695. T5_order <- c("Background", "T5 edit", "T5 RVS")
  696. VIPR2_T5$state <- factor(VIPR2_T5$state, levels = T5_order)
  697. VIPR2 <- ggplot(VIPR2_T5, aes(x = state, y = V6, fill = state)) +
  698. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  699. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  700. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  701. theme_bw() +
  702. theme(legend.position = "none") +
  703. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  704. ylab("log10 expression (TPM)") +
  705. xlab("")
  706. VIPR2 + scale_y_continuous(trans='log10')
  707. ggsave("../plots/VIPR2_TPM.pdf", VIPR2, width = 6, height = 4)
  708. # STMN3 DMR
  709. STMN3 <- read.table("../../rsem/output/iPSC/STMN3_TPM.txt", sep = "\t")
  710. STMN3$V1 <- sub("\\.genes.*", "", STMN3$V1)
  711. colnames(STMN3)[1] <- "seq_ID"
  712. STMN3 <- STMN3 %>%
  713. inner_join(iPSC_ID)
  714. STMN3_T5 <- STMN3 %>%
  715. mutate(state = case_when(
  716. Edit == "T5" ~ "T5 edit",
  717. Edit == "T5-RVS" ~ "T5 RVS",
  718. TRUE ~ "Background"
  719. ))
  720. T5_order <- c("Background", "T5 edit", "T5 RVS")
  721. STMN3_T5$state <- factor(STMN3_T5$state, levels = T5_order)
  722. STMN3 <- ggplot(STMN3_T5, aes(x = state, y = V6, fill = state)) +
  723. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  724. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
  725. scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
  726. theme_bw() +
  727. theme(legend.position = "none") +
  728. ylab("Log2FC")
  729. ggsave("../plots/STMN3_TPM.pdf", STMN3, width = 6, height = 4)
  730. #T5 DMR but not in T5 rvs
  731. T5_DMR <- read.table("../../rsem/output/iPSC/T5_DMR_genes.txt", sep = "\t")
  732. T5_DMR$V1 <- sub("\\.genes.*", "", T5_DMR$V1)
  733. colnames(T5_DMR)[1] <- "seq_ID"
  734. T5_DMR_lab <- T5_DMR %>%
  735. inner_join(iPSC_ID)
  736. T5_DMR_lab <- T5_DMR_lab %>%
  737. mutate(state = case_when(
  738. Edit == "T5" ~ "Target",
  739. Edit == "T5-RVS" ~ "RVS",
  740. TRUE ~ "Background"
  741. ))
  742. # ordering x-axis on plot
  743. T5_DMR_lab$state <- factor(T5_DMR_lab$state, levels = c("Background", "Target", "RVS"))
  744. T5_DMR <- ggplot(T5_DMR_lab, aes(x = state, y = V6, fill = state)) +
  745. geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
  746. geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
  747. scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
  748. theme_bw() +
  749. facet_grid(. ~ V2) +
  750. theme(legend.position = "none") +
  751. theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
  752. xlab("") +
  753. ylab("TPM")
  754. ggsave("../plots/T5_DMR_4genes.pdf", width = 10, height = 6)
  755. # Gene set enrichment - neurons --------------------------------------------------------------------
  756. library("clusterProfiler")
  757. library("org.Hs.eg.db")
  758. library("AnnotationDbi")
  759. library("enrichplot")
  760. T5_sig <- t5_neuron_full %>%
  761. filter(padj < 0.05, abs(log2FoldChange) > 1) %>%
  762. arrange(desc(log2FoldChange))
  763. T5_list <- T5_sig$gene
  764. names(D_list) <- GP2_expression_1$Gene
  765. DAn_genes <- names(DAn_list)
  766. T5_gse <- enrichGO(T5_list,
  767. ont = "BP",
  768. keyType = "SYMBOL",
  769. pvalueCutoff = 0.05,
  770. pAdjustMethod = "BH",
  771. qvalueCutoff = 0.2,
  772. minGSSize = 10,
  773. OrgDb = "org.Hs.eg.db")
  774. T5_results <- as.data.frame(T5_gse)
  775. T5_gse_dot <- dotplot(T5_gse, showCategory = 20, size = "Count") +
  776. ggplot2::theme(
  777. axis.text.x = ggplot2::element_text(angle = 45, hjust = 1, size = 8),
  778. axis.text.y = ggplot2::element_text(size = 8)
  779. ) +
  780. ggplot2::coord_fixed(ratio = 0.015)

CRISPR_Tx_plots.R at commit d0c6733, no license · at the source

Overview

Authors: Sophie L. Farrow1,2,3, Sreemol Gokuladhas1, Izlem Su Akan4, Denis Nyaga1, Antony A. Cooper5,6, Ralph Stefan Grand4, Justin M. O’Sullivan1,5,7,8
  1. Liggins Institute, The University of Auckland, Auckland 1023, New Zealand
  2. Oxford Parkinson’s Disease Centre and Department of Physiology, Anatomy and Genetics, University of Oxford, Oxford OX1 3QU, UK
  3. Kavli Institute for Neuroscience Discovery, Dorothy Crowfoot Hodgkin Building, University of Oxford, South Parks Road, Oxford OX1 3QU, UK
  4. Centre for Molecular Biology of Heidelberg University (ZMBH), University of Heidelberg, 69120 Heidelberg, Germany
  5. Australian Parkinsons Mission, Garvan Institute of Medical Research, Sydney, NSW, Australia
  6. St Vincent’s Clinical School, University of New South Wales, Sydney, NSW, Australia
  7. Singapore Institute for Clinical Sciences, Agency for Science Technology and Research, Singapore, Singapore
  8. MRC Lifecourse Epidemiology Unit, University of Southampton, Southampton, UK
Journal: iScience, volume 29, issue 6, article 116143
Dates: received 20 May 2025; accepted 12 May 2026; published online 1 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.isci.2026.116143 · PMID 42291199 · PMCID PMC13253082 · OpenAlex W7163015641
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), human (organism)
Methods: Statistics
Keywords: Human genetics, Non-infectious disease, Clinical neuroscience
Topic: Genetic Associations and Epidemiology (Genetics, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: Michael J. Fox Foundation for Parkinson’s Research (021131); Australian Government; Parkinson's UK (AVR03420); Dines Family Charitable Trust; New Zealand e-Science Infrastructure; NeSI
Citations: cited by 1 paper (Europe PMC); 55 references in the paper
Research resources: B-III tubulin; chicken RRID:AB_10000548, SNAP25; rabbit RRID:AB_2192187, MAP2; mouse RRID:AB_3273979

Abstract

Non-coding variants associated with complex disease can shape gene regulatory networks across multiple genomic loci and cellular contexts. Here, we investigated the functional impact of the Parkinson-disease-associated variant rs11610045 using an isogenic induced pluripotent stem cell model. Using CRISPR-Cas9 editing and reversal, we generated matched clones carrying either the A|A or G|G genotype, enabling controlled comparison of allele-specific effects. We identified widespread genotype-dependent regulation of distal genes, including THBS1 and PDGFB. Affinity purification followed by mass spectrometry revealed differential binding of regulatory proteins to the G|G allele, including the transcription factor TCF7L1. Differentiation into cortical neurons demonstrated context-dependent effects, with 24 genes differentially expressed and PAX5 consistently altered across developmental stages. Together, these findings link a non-coding disease-associated variant to coordinated changes in gene expression and protein binding, support trans-acting mechanisms underlying regulatory variation, and provide a generalizable framework for dissecting disease-associated loci in human cellular models.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.

sfar956/PD_iPSC_Tx

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: d0c6733c1216b143fa5e331660dd784a0d9688ad, 30 April 2026
Languages: R (1)
Size: 4 files, 1 script
Software Heritage: not archived
Found in: “Data and code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: clusterProfiler (1 file), DESeq2 (1 file), ggplot2 (1 file), ggpubr (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
2 files

nanoporetech/pod5-file-format

License: MPL-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: fdbe60a9a52aab8ce548be23b7e4025c9af89779, 21 September 2026
Languages: Python (62), C++ (61), C/C++ (57), Shell (26), C (1)
Size: 312 files, 207 scripts
Software Heritage: archived
Found in: the text, “Sequence data analysis, off-target characterisat”
Holds: README, license file, environment (pyproject.toml, benchmarks/image/Dockerfile.base, benchmarks/image/requirements-benchmarks.txt, ci/docker/Dockerfile.conda, ci/docker/Dockerfile.fuzz, ci/docker/Dockerfile.py39.arm64, ci/docker/Dockerfile.py39.x64, ci/docker/Dockerfile.ubu-build-deps, ci/docker/Dockerfile.ubu-build-no-deps, python/lib_pod5/pyproject.toml, python/lib_pod5/setup.py, python/pod5/pyproject.toml), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: NumPy (21 files), pandas (6 files), h5py (5 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
209 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 208 scripts, each with its path and the digest of its content;
  • 3 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 and code availability

• RNA-seq and long-read WGS data have been deposited in the NCBI Sequence Read Archive (SRA) and are publicly available as of the date of publication. AP-MS data are available via the PRIDE repository and are publicly available as of the date of publication. Accession numbers are listed in the key resources table. • All original code has been deposited in appropriate repositories and is available at https://github.com/sfar956/PD_iPSC_Tx.git. R Studio v.4.2.1 was used for data analyses and visualization. • Summary data are provided in the supplementary tables. • Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.

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 2, 28 September 2026

  • Authors: added Sophie L. Farrow (0000-0002-6578-4219); removed Sophie L. Farrow

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 3 keywords, 6 funders, 54 references, 3 RRIDs.

Cite

This paper

Farrow, S. L., Gokuladhas, S., Akan, I. S., Nyaga, D., Cooper, A. A., Grand, R. S., & O’Sullivan, J. M. (2026). Dissecting genotype-specific effects of disease-associated genetic variants. iScience, 29(6), 116143. https://doi.org/10.1016/j.isci.2026.116143

BibTeX

@article{farrow2026dissecting,
author = {Farrow, Sophie L. and Gokuladhas, Sreemol and Akan, Izlem Su and Nyaga, Denis and Cooper, Antony A. and Grand, Ralph Stefan and O’Sullivan, Justin M.},
title = {{Dissecting genotype-specific effects of disease-associated genetic variants}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {6},
pages = {116143},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.116143},
url = {https://doi.org/10.1016/j.isci.2026.116143},
pmid = {42291199},
pmcid = {PMC13253082}
}

RIS

TY - JOUR
AU - Farrow, Sophie L.
AU - Gokuladhas, Sreemol
AU - Akan, Izlem Su
AU - Nyaga, Denis
AU - Cooper, Antony A.
AU - Grand, Ralph Stefan
AU - O’Sullivan, Justin M.
TI - Dissecting genotype-specific effects of disease-associated genetic variants
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/06/01
VL - 29
IS - 6
SP - 116143
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116143
UR - https://doi.org/10.1016/j.isci.2026.116143
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116143",
"type": "article-journal",
"title": "Dissecting genotype-specific effects of disease-associated genetic variants",
"container-title": "iScience",
"author": [
{
"family": "Farrow",
"given": "Sophie L."
},
{
"family": "Gokuladhas",
"given": "Sreemol"
},
{
"family": "Akan",
"given": "Izlem Su"
},
{
"family": "Nyaga",
"given": "Denis"
},
{
"family": "Cooper",
"given": "Antony A."
},
{
"family": "Grand",
"given": "Ralph Stefan"
},
{
"family": "O’Sullivan",
"given": "Justin M."
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "6",
"page": "116143",
"DOI": "10.1016/j.isci.2026.116143",
"PMID": "42291199",
"PMCID": "PMC13253082",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116143",
"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/brain/awac022 [code]
Establishing gene regulatory networks from Parkinson's disease risk loci.
Journal: Brain : a journal of neurology
In common: pandas, NumPy, genetics / omics, 6 references, author Sophie L. Farrow
[2] doi:10.3389/fgene.2021.785436 [code]
Machine Learning Identifies Six Genetic Variants and Alterations in the Heart Atrial Appendage as Key Contributors to PD Risk Predictivity.
Journal: Frontiers in genetics
In common: pandas, NumPy, genetics / omics, 4 references, author Sophie L. Farrow
[3] doi:10.1038/s41588-023-01300-6 [code]
Brain expression quantitative trait locus and network analyses reveal downstream effects and putative drivers for brain-related diseases.
Journal: Nature genetics
In common: clusterProfiler, DESeq2, ggpubr, 4 other tools, genetics / omics, 4 references
[4] doi:10.1038/s41593-025-02154-3 [code]
CRISPRi screening in cultured human astrocytes uncovers distal enhancers controlling genes dysregulated in Alzheimer's disease.
Journal: Nature neuroscience
In common: clusterProfiler, DESeq2, ggpubr, 3 other tools, genetics / omics, 3 references
[5] doi:10.1126/sciadv.adp8504 [code]
Astrocytic RNA editing regulates the host immune response to alpha-synuclein.
Journal: Science advances
In common: clusterProfiler, DESeq2, ggpubr, 4 other tools, 5 references
[6] doi:10.1038/s41531-024-00638-w [code]
Discovering genetic mechanisms underlying the co-occurrence of Parkinson's disease and non-motor traits.
Journal: NPJ Parkinson's disease
In common: ggpubr, ggplot2, tidyverse, 2 other tools, genetics / omics, 2 references, author Sophie L. Farrow
[7] doi:10.1038/s41467-026-72598-z [code]
Functional impact of genetic background on variable expressivity in neurodevelopmental disorders.
Journal: Nature communications
In common: clusterProfiler, DESeq2, ggpubr, 4 other tools, 3 references
[8] doi:10.1093/nar/gkae1129 [code]
Identifying key underlying regulatory networks and predicting targets of orphan C/D box SNORD116 snoRNAs in Prader-Willi syndrome.
Journal: Nucleic acids research
In common: clusterProfiler, DESeq2, ggpubr, 2 other tools, 5 references
[9] doi:10.3389/fnmol.2023.1308610 [code]
Plasma cell-free RNA profiling of Vietnamese Alzheimer's patients reveals a linkage with chronic inflammation and apoptosis: a pilot study.
Journal: Frontiers in molecular neuroscience
In common: clusterProfiler, DESeq2, ggpubr, 2 other tools, genetics / omics, 3 references
[10] doi:10.1038/s41588-021-00976-y [code]
Genetic analysis of the human microglial transcriptome across brain regions, aging and disease pathologies.
Journal: Nature genetics
In common: DESeq2, ggpubr, ggplot2, 3 other tools, genetics / omics, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143.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.