OSCR

Beat- and Side-family cell-surface molecules are expressed combinatorially in the partner neurons of the olfactory circuit in Drosophila.

Code ↔ Paper

9 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.

The 9 matches
  1. [1] § Results › Expression of Beat/Side proteins in the antennal lobe ↔ single-cell RNAseq/PN_Xie_elife_2021/Visualizing the beat-side expression across PNs.Rmd, lines 36–58 · score 0.86 · Beat IIIC, Beat Ib, Beat VII, Side VII, Beat IIb, Beat Va
  2. [2] § Results › Expression of Beat/Side proteins in the antennal lobe ↔ single-cell RNAseq/ORN_McLaughlin_elife_2021/Visualizing the beat-side expression across ORNs.Rmd, lines 37–59 · score 0.86 · Beat IIIC, Beat Ib, Beat VII, Side VII, Beat IIb, Beat Va
  3. [3] § Results › Evolutionarily conserved expression of beat/side orthologs across insect ORNs ↔ Evolutionary_Analyses_beats_sides_across_insect_species/scRNAseq_AAegypti/Analysis of beat-side expression in A. aeg ORNs.Rmd, lines 99–106 · score 0.78 · beat IVa, side IIa, beat VII, insect species, beat Va, side III
  4. [4] § Materials and methods › beat/side glomerular expression pattern analysis of beats/sides ↔ GAL4_ORN_expression_analysis/ORN GAL4 pattern analysis.Rmd, lines 77–117 · score 0.77 · beat Vc, beat Ic, beat IIIc, side III, ORN expression, beat VI
  5. [5] § Materials and methods › beat/side glomerular expression pattern analysis of beats/sides ↔ GAL4_PN_expression_analysis/PN GAL4 pattern analysis.Rmd, lines 34–57 · score 0.76 · beat Vc, beat Ic, beat IIIc, side III, PN expression, beat VI
  6. [6] § Results › Beats/Sides form a robust molecular interaction network between ORN and PN partners ↔ GAL4_ORN_expression_analysis/ORN GAL4 pattern analysis.Rmd, lines 77–117 · score 0.71 · beat IIIa, Beat IIIc, Beat IIb, side III, side VIII, split
  7. [7] § Materials and methods › Linear regression for the ORN expression breadth of beat/side orthologs between species ↔ Evolutionary_Analyses_beats_sides_across_insect_species/Cross-species ortholog expression breadth/linear regression of ortholog expression breadth.Rmd, lines 80–106 · score 0.64 · expression breadth, cross species, Linear, mosquito, ant, regression
  8. [8] § Results › A glomerular map of beat/side expression in PNs ↔ GAL4_PN_expression_analysis/PN GAL4 pattern analysis.Rmd, lines 60–65 · score 0.60 · VA1v, birth sequence, adPN, PN lineage, DA1, PN class
  9. [9] § Results › Evolutionarily conserved expression of beat/side orthologs across insect ORNs ↔ Evolutionary_Analyses_beats_sides_across_insect_species/Cross-species ortholog expression breadth/linear regression of ortholog expression breadth.Rmd, lines 80–106 · score 0.51 · Linear regression, expression breadth, insect species, orthologs, mosquitoes, ants

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 Markdown · 705 lines · 21 KB · MIT · 2 matches

  1. ---
  2. title: "beat-side GAL4 in ORNs"
  3. output: html_notebook
  4. ---
  5. This analysis was based on the GAL4 expression pattern data updated in April 2026.
  6. ## Load packages.
  7. ```{r}
  8. library(tidyverse)
  9. library(magrittr)
  10. library(gplots)
  11. library(RColorBrewer)
  12. library(ggpubr)
  13. library(showtext)
  14. library(pheatmap)
  15. ```
  16. ## Load the dataset.
  17. ```{r}
  18. df <- read_csv("ORN beat-side expression matrix_2026.csv") %>%
  19. as.data.frame()
  20. df$Sensillar_type <- factor(df$Sensillar_type, levels = c("TSB", "LB", "AT", "AC", "PB", "SA", "AR", "UNK"))
  21. ```
  22. ```{r}
  23. #For binary analysis in Fig 2, set all non-zero values to 1. For the analysis in Fig S5 based on the binned expression levels, keep the original matrix.
  24. df_binary <- df
  25. df_binary[, -(1:5)] <- (df_binary[, -(1:5)] != 0) * 1
  26. ```
  27. ## Fig 2G. Lineage-biased expression of beat/side genes.
  28. ```{r}
  29. df_binary %>%
  30. group_by(Sensillar_type) %>%
  31. count()
  32. expression_SensillarType <- df_binary %>%
  33. group_by(Sensillar_type) %>%
  34. summarise(across(where(is.numeric), mean))
  35. expression_SensillarType <- expression_SensillarType[order(expression_SensillarType$Sensillar_type), ]
  36. expression_SensillarType
  37. #write_csv(expression_SensillarType, "expression_SensillarType.csv")
  38. ```
  39. ```{r}
  40. expression_SensillarType_binarized <- expression_SensillarType %>%
  41. mutate(across(where(is.numeric), ~ ifelse(. >= 0.6, 1, ifelse(. <= 0.4, 0, 0.5))))
  42. mtx_template <- expression_SensillarType_binarized %>%
  43. select(-Sensillar_type) %>%
  44. as.matrix()
  45. rownames(mtx_template) <- expression_SensillarType_binarized$Sensillar_type
  46. pheatmap(mtx_template[(1:6), ],
  47. color = colorRampPalette(c("white", "black"))(3),
  48. cluster_rows = FALSE,
  49. cluster_cols = FALSE,
  50. show_rownames = TRUE,
  51. show_colnames = TRUE,
  52. fontsize = 14,
  53. angle_col = 90,
  54. #border_color = "gray",
  55. )
  56. ```
  57. ```{r}
  58. expression_SensillarType_binarized <- expression_SensillarType %>%
  59. mutate(across(where(is.numeric), ~ ifelse(. >= 0.6, "present", ifelse(. <= 0.4, "absent", "either"))))
  60. #mutate(across(where(is.numeric), ~ ifelse(. > 0.5, "present", ifelse(. < 0.5, "absent", "either"))))
  61. #write_csv(expression_SensillarType_binarized, "expression_SensillarType_binarized.csv")
  62. expression_SensillarType_binarized_long <- expression_SensillarType_binarized %>%
  63. pivot_longer(cols = -Sensillar_type, names_to = "gene", values_to = "expression")
  64. expression_SensillarType_binarized_long$gene <-
  65. factor(expression_SensillarType_binarized_long$gene,
  66. levels = c("beat-Ia", "beat-IIa", "beat-IIb", "side", "side-III",
  67. "beat-IIIb", "beat-IIIc", "beat-IV", "beat-VII", "side-VI",
  68. "side-II", "side-V", "beat-Ib",
  69. "beat-Ic", "beat-Vc", "beat-VI", "side-IV",
  70. "beat-IIIa", "beat-Va", "side-VIII"))
  71. expression_SensillarType_binarized_long %>%
  72. filter(Sensillar_type != "UNK" & Sensillar_type != "AR") %>%
  73. ggplot(aes(x = gene, y = Sensillar_type)) +
  74. scale_y_discrete(limits = rev) +
  75. geom_dotplot(aes(fill = expression), binaxis = "y", stackdir = "center", dotsize = 2) +
  76. #scale_fill_gradientn(colors = c("white", "gray", "black")) +
  77. scale_fill_manual(values = c("present"="black", "absent"="white", "either"="gray")) +
  78. geom_vline(xintercept = c(5.5, 12.5, 17.5), linewidth = 0.5) +
  79. theme(
  80. axis.title.x = element_blank(),
  81. axis.title.y = element_blank(),
  82. axis.text.x = element_text(size = 14, angle = 45, vjust = 1, hjust = 1),
  83. axis.text.y = element_text(size = 14),
  84. #legend.position = "none",
  85. legend.title = element_text(size = 12),
  86. legend.text = element_text(size = 12),
  87. panel.border = element_rect(color = "black", fill = NA, linewidth = 0.5),
  88. panel.background = element_rect(fill = "white", color = NA)
  89. )
  90. #ggsave("expression_template_split_revision1.pdf")
  91. ```
  92. ## Fig S12D. Expression breadth of beat/side genes based on the GAL4 labeling data across ORNs.
  93. ```{r}
  94. df_binary %>%
  95. summarise(across(where(is.numeric), sum)) %>%
  96. t() %>%
  97. as.data.frame()
  98. df_binary %>%
  99. summarise(across(where(is.numeric), mean)) %>%
  100. t() %>%
  101. as.data.frame()
  102. df_binary[df_binary$Sensillar_type %in% c("TSB", "AT", "LB", "AC"), ] %>%
  103. nrow()
  104. df_binary[df_binary$Sensillar_type %in% c("TSB", "AT", "LB", "AC"), ] %>%
  105. summarise(across(where(is.numeric), sum)) %>%
  106. t() %>%
  107. as.data.frame()
  108. df_binary[df_binary$Sensillar_type %in% c("TSB", "AT", "LB", "AC"), ] %>%
  109. summarise(across(where(is.numeric), mean)) %>%
  110. t() %>%
  111. as.data.frame()
  112. ```
  113. ## Fig 2B, 2C, 2D, S5. Hierarchical clustering analysis of beat/side expression across ORNs based on the binary/binned GAL4 labeling data.
  114. ### Fig 2B.
  115. ```{r}
  116. mtx <- df_binary[-c(1,2,3,4,5)] %>% as.matrix()
  117. rownames(mtx) <- df_binary[["Glomerulus"]]
  118. ```
  119. ```{r, fig.width = 30, fig.height = 36}
  120. row_colors <- brewer.pal(length(unique(df$Sensillar_type)), "Set2")[as.numeric(df$Sensillar_type)]
  121. #pdf("heatmap_revision_jaccard.pdf", width = 30,height = 36)
  122. heatmap.2(mtx,
  123. col = colorRampPalette(c("white", "dodgerblue"))(2),
  124. dendrogram = "both",
  125. trace = "none",
  126. RowSideColors = row_colors,
  127. colsep = 0:ncol(mtx),
  128. rowsep = 0:nrow(mtx),
  129. sepcolor = "gray",
  130. sepwidth = c(0.01, 0.01),
  131. cexRow = 3, # Font size for row labels
  132. cexCol = 4, # Font size for column labels
  133. key = FALSE,
  134. #density.info = "none",
  135. #keysize = 0.6, # smaller than default (default ~1.5)
  136. #key.par = list(mar = c(3, 3, 1, 1)) # shrink margins around key
  137. )
  138. legend("topleft",
  139. legend = sort(unique(df$Sensillar_type)),
  140. fill = brewer.pal(length(unique(df$Sensillar_type)), "Set2"),
  141. title = "Sensillar types",
  142. cex = 4.5)
  143. #dev.off()
  144. ```
  145. ### Fig 2C.
  146. ```{r}
  147. # Exclude two glomeruli that are innervated by more than one type of ORNs.
  148. df <- df_binary[df_binary$Glomerulus != "VP4" & df_binary$Glomerulus != "VL1", ]
  149. mtx <- df[-c(1,2,3,4,5)] %>% as.matrix()
  150. rownames(mtx) <- df[["Glomerulus"]]
  151. mtx_rcor <- cor(t(mtx))
  152. ```
  153. ```{r}
  154. similarity <- numeric()
  155. relation <- character()
  156. ndim = nrow(mtx_rcor)
  157. for (i in 1:(ndim-1)) {
  158. for (j in (i+1):ndim) {
  159. similarity = append(similarity, mtx_rcor[i, j])
  160. if (df$Sensillum[i] == df$Sensillum[j]) {
  161. relation = append(relation, "within sensillum")
  162. } else if (df$Sensillar_type[i] == df$Sensillar_type[j]) {
  163. relation = append(relation, "within sensillar type")
  164. } else {
  165. relation = append(relation, "between sensillar types")
  166. }
  167. }
  168. }
  169. ```
  170. ```{r}
  171. similarity_summary <- data.frame(similarity = similarity, relation = relation)
  172. similarity_summary$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  173. #write_csv(similarity_summary, "Fig 2C_ORN_similarity_summary.csv")
  174. ```
  175. ```{r}
  176. similarity_summary %>%
  177. dplyr::group_by(relation) %>%
  178. dplyr::count()
  179. similarity_summary %>%
  180. dplyr::group_by(relation) %>%
  181. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  182. compare_means(similarity ~ relation, data = similarity_summary)
  183. ```
  184. ```{r}
  185. my_comparison <- list(c("between sensillar types", "within sensillar type"),
  186. c("between sensillar types", "within sensillum"),
  187. c("within sensillar type", "within sensillum"))
  188. ```
  189. ```{r}
  190. showtext_auto()
  191. data <- similarity_summary
  192. ggplot(data, aes(x = relation, y = similarity, fill = relation)) +
  193. geom_boxplot() +
  194. #geom_violin() +
  195. #geom_jitter() +
  196. geom_signif(
  197. comparisons = my_comparison,
  198. na.rm = TRUE,
  199. #test = "t.test",
  200. step_increase = 0.1,
  201. textsize = 4,
  202. map_signif_level = function(p) sprintf("%.2g", p),
  203. #y_position = 0.5
  204. ) +
  205. scale_fill_manual(values = c(
  206. "between sensillar types" = "#9BC985",
  207. "within sensillar type" = "#F7D58B",
  208. "within sensillum" = "#B595BF"
  209. )) +
  210. #ylim(NA, 1) +
  211. #coord_fixed(ratio=1) +
  212. theme_classic() +
  213. theme(aspect.ratio = 1) +
  214. theme(#axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1),
  215. axis.text.x = element_blank(),
  216. axis.title.x=element_blank(),
  217. axis.title.y=element_text(size = 18),
  218. legend.title=element_text(size = 18),
  219. legend.text=element_text(size = 15)
  220. )
  221. #ggsave("similarity_comparison_spectrum.pdf")
  222. ```
  223. ### Fig 2D.
  224. ```{r}
  225. within_sensillum_all <- numeric()
  226. within_type_all <- numeric()
  227. between_type_all <- numeric()
  228. # Run multiple times of shuffling.
  229. for (x in 1789:2024) {
  230. set.seed(x)
  231. df_shuffled <- df[sample(1:nrow(df)), ]
  232. mtx <- df_shuffled[-c(1,2,3,4,5)] %>% as.matrix()
  233. mtx_rcor <- cor(t(mtx))
  234. within_sensillum <- numeric()
  235. within_type <- numeric()
  236. between_type <- numeric()
  237. ndim = nrow(mtx_rcor)
  238. for (i in 1:(ndim-1)) {
  239. for (j in (i+1):ndim) {
  240. if (df$Sensillum[i] == df$Sensillum[j]) {
  241. within_sensillum = append(within_sensillum, mtx_rcor[i, j])
  242. } else if (df$Sensillar_type[i] == df$Sensillar_type[j]) {
  243. within_type = append(within_type, mtx_rcor[i, j])
  244. } else {
  245. between_type <- append(between_type, mtx_rcor[i, j])
  246. }
  247. }
  248. }
  249. within_sensillum_all = append(within_sensillum_all, mean(within_sensillum))
  250. within_type_all = append(within_type_all, mean(within_type))
  251. between_type_all <- append(between_type_all, mean(between_type))
  252. }
  253. # Summary of all shuffling runs.
  254. similarity_summary_all <- data.frame(similarity = c(within_sensillum_all, within_type_all, between_type_all),
  255. relation = c(rep("within sensillum", length(within_sensillum_all)),
  256. rep("within sensillar type", length(within_type_all)),
  257. rep("between sensillar types", length(between_type_all))
  258. )
  259. )
  260. # Summary of the last one (with seed = 2024) as the representative shuffling result.
  261. similarity_summary <- data.frame(similarity = c(within_sensillum, within_type, between_type),
  262. relation = c(rep("within sensillum", length(within_sensillum)),
  263. rep("within sensillar type", length(within_type)),
  264. rep("between sensillar types", length(between_type))
  265. )
  266. )
  267. similarity_summary_all$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  268. similarity_summary$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  269. #write_csv(similarity_summary, "Fig 2D_ORN_similarity_summary_shuffled.csv")
  270. ```
  271. ```{r}
  272. similarity_summary_all %>%
  273. dplyr::group_by(relation) %>%
  274. dplyr::count()
  275. similarity_summary_all %>%
  276. dplyr::group_by(relation) %>%
  277. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  278. compare_means(similarity ~ relation, data = similarity_summary_all)
  279. similarity_summary %>%
  280. dplyr::group_by(relation) %>%
  281. dplyr::count()
  282. similarity_summary %>%
  283. dplyr::group_by(relation) %>%
  284. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  285. compare_means(similarity ~ relation, data = similarity_summary)
  286. ```
  287. ```{r}
  288. my_comparison <- list(c("between sensillar types", "within sensillar type"),
  289. c("between sensillar types", "within sensillum"),
  290. c("within sensillar type", "within sensillum"))
  291. showtext_auto()
  292. data <- similarity_summary
  293. ggplot(data, aes(x = relation, y = similarity, fill = relation)) +
  294. geom_boxplot() +
  295. #geom_violin() +
  296. #geom_jitter() +
  297. geom_signif(
  298. comparisons = my_comparison,
  299. na.rm = TRUE,
  300. #test = "t.test",
  301. step_increase = 0.1,
  302. textsize = 4,
  303. map_signif_level = function(p) sprintf("%.2g", p),
  304. #y_position = 0.5
  305. ) +
  306. scale_fill_manual(values = c(
  307. "between sensillar types" = "#9BC985",
  308. "within sensillar type" = "#F7D58B",
  309. "within sensillum" = "#B595BF"
  310. )) +
  311. #ylim(NA, 1) +
  312. #coord_fixed(ratio=1) +
  313. theme_classic() +
  314. theme(aspect.ratio = 1) +
  315. theme(#axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1),
  316. axis.text.x = element_blank(),
  317. axis.title.x=element_blank(),
  318. axis.title.y=element_text(size = 18),
  319. legend.title=element_text(size = 18),
  320. legend.text=element_text(size = 15)
  321. )
  322. #ggsave("similarity_comparison_spectrum_shuffle.pdf")
  323. ```
  324. ### Fig S5A.
  325. ```{r}
  326. # Reload the original binned dataset.
  327. df <- read_csv("ORN beat-side expression matrix_2026.csv") %>%
  328. as.data.frame()
  329. df$Sensillar_type <- factor(df$Sensillar_type, levels = c("TSB", "LB", "AT", "AC", "PB", "SA", "AR", "UNK"))
  330. mtx <- df[-c(1,2,3,4,5)] %>% as.matrix()
  331. rownames(mtx) <- df[["Glomerulus"]]
  332. ```
  333. ```{r, fig.width = 30, fig.height = 36}
  334. row_colors <- brewer.pal(length(unique(df$Sensillar_type)), "Set2")[as.numeric(df$Sensillar_type)]
  335. #pdf("heatmap_revision_jaccard.pdf", width = 30,height = 36)
  336. pal <- brewer.pal(4, "Blues")
  337. pal[1] <- "white"
  338. heatmap.2(mtx,
  339. col = pal,
  340. dendrogram = "both",
  341. trace = "none",
  342. RowSideColors = row_colors,
  343. colsep = 0:ncol(mtx),
  344. rowsep = 0:nrow(mtx),
  345. sepcolor = "gray",
  346. sepwidth = c(0.01, 0.01),
  347. cexRow = 3, # Font size for row labels
  348. cexCol = 4, # Font size for column labels
  349. key = FALSE,
  350. #density.info = "none",
  351. #keysize = 0.6, # smaller than default (default ~1.5)
  352. #key.par = list(mar = c(3, 3, 1, 1)) # shrink margins around key
  353. )
  354. legend("topleft",
  355. legend = sort(unique(df$Sensillar_type)),
  356. fill = brewer.pal(length(unique(df$Sensillar_type)), "Set2"),
  357. title = "Sensillar types",
  358. cex = 4.5)
  359. #dev.off()
  360. ```
  361. ### Fig S5B
  362. ```{r}
  363. # Exclude two glomeruli that are innervated by more than one type of ORNs.
  364. df <- df[df$Glomerulus != "VP4" & df$Glomerulus != "VL1",]
  365. mtx <- df[-c(1,2,3,4,5)] %>% as.matrix()
  366. rownames(mtx) <- df[["Glomerulus"]]
  367. mtx_rcor <- cor(t(mtx))
  368. ```
  369. ```{r}
  370. similarity <- numeric()
  371. relation <- character()
  372. ndim = nrow(mtx_rcor)
  373. for (i in 1:(ndim-1)) {
  374. for (j in (i+1):ndim) {
  375. similarity = append(similarity, mtx_rcor[i, j])
  376. if (df$Sensillum[i] == df$Sensillum[j]) {
  377. relation = append(relation, "within sensillum")
  378. } else if (df$Sensillar_type[i] == df$Sensillar_type[j]) {
  379. relation = append(relation, "within sensillar type")
  380. } else {
  381. relation = append(relation, "between sensillar types")
  382. }
  383. }
  384. }
  385. ```
  386. ```{r}
  387. similarity_summary <- data.frame(similarity = similarity, relation = relation)
  388. similarity_summary$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  389. #write_csv(similarity_summary, "Fig S5B_ORN_similarity_summary_binned.csv")
  390. ```
  391. ```{r}
  392. similarity_summary %>%
  393. dplyr::group_by(relation) %>%
  394. dplyr::count()
  395. similarity_summary %>%
  396. dplyr::group_by(relation) %>%
  397. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  398. compare_means(similarity ~ relation, data = similarity_summary)
  399. ```
  400. ```{r}
  401. my_comparison <- list(c("between sensillar types", "within sensillar type"),
  402. c("between sensillar types", "within sensillum"),
  403. c("within sensillar type", "within sensillum"))
  404. ```
  405. ```{r}
  406. showtext_auto()
  407. data <- similarity_summary
  408. ggplot(data, aes(x = relation, y = similarity, fill = relation)) +
  409. geom_boxplot() +
  410. #geom_violin() +
  411. #geom_jitter() +
  412. geom_signif(
  413. comparisons = my_comparison,
  414. na.rm = TRUE,
  415. #test = "t.test",
  416. step_increase = 0.1,
  417. textsize = 4,
  418. map_signif_level = function(p) sprintf("%.2g", p),
  419. #y_position = 0.5
  420. ) +
  421. scale_fill_manual(values = c(
  422. "between sensillar types" = "#9BC985",
  423. "within sensillar type" = "#F7D58B",
  424. "within sensillum" = "#B595BF"
  425. )) +
  426. #ylim(NA, 1) +
  427. #coord_fixed(ratio=1) +
  428. theme_classic() +
  429. theme(aspect.ratio = 1) +
  430. theme(#axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1),
  431. axis.text.x = element_blank(),
  432. axis.title.x=element_blank(),
  433. axis.title.y=element_text(size = 18),
  434. legend.title=element_text(size = 18),
  435. legend.text=element_text(size = 15)
  436. )
  437. #ggsave("similarity_comparison_spectrum.pdf")
  438. ```
  439. ### Fig S5C
  440. ```{r}
  441. within_sensillum_all <- numeric()
  442. within_type_all <- numeric()
  443. between_type_all <- numeric()
  444. # Run multiple times of shuffling.
  445. for (x in 1789:2024) {
  446. set.seed(x)
  447. df_shuffled <- df[sample(1:nrow(df)), ]
  448. mtx <- df_shuffled[-c(1,2,3,4,5)] %>% as.matrix()
  449. mtx_rcor <- cor(t(mtx))
  450. within_sensillum <- numeric()
  451. within_type <- numeric()
  452. between_type <- numeric()
  453. ndim = nrow(mtx_rcor)
  454. for (i in 1:(ndim-1)) {
  455. for (j in (i+1):ndim) {
  456. if (df$Sensillum[i] == df$Sensillum[j]) {
  457. within_sensillum = append(within_sensillum, mtx_rcor[i, j])
  458. } else if (df$Sensillar_type[i] == df$Sensillar_type[j]) {
  459. within_type = append(within_type, mtx_rcor[i, j])
  460. } else {
  461. between_type <- append(between_type, mtx_rcor[i, j])
  462. }
  463. }
  464. }
  465. within_sensillum_all = append(within_sensillum_all, mean(within_sensillum))
  466. within_type_all = append(within_type_all, mean(within_type))
  467. between_type_all <- append(between_type_all, mean(between_type))
  468. }
  469. # Summary of all shuffling runs.
  470. similarity_summary_all <- data.frame(similarity = c(within_sensillum_all, within_type_all, between_type_all),
  471. relation = c(rep("within sensillum", length(within_sensillum_all)),
  472. rep("within sensillar type", length(within_type_all)),
  473. rep("between sensillar types", length(between_type_all))
  474. )
  475. )
  476. # Summary of the last one (with seed = 2024) as the representative shuffling result.
  477. similarity_summary <- data.frame(similarity = c(within_sensillum, within_type, between_type),
  478. relation = c(rep("within sensillum", length(within_sensillum)),
  479. rep("within sensillar type", length(within_type)),
  480. rep("between sensillar types", length(between_type))
  481. )
  482. )
  483. similarity_summary_all$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  484. similarity_summary$relation %<>% factor(levels = c("between sensillar types", "within sensillar type", "within sensillum"))
  485. #write_csv(similarity_summary, "Fig S5C_ORN_similarity_summary_binned_shuffled.csv")
  486. ```
  487. ```{r}
  488. similarity_summary_all %>%
  489. dplyr::group_by(relation) %>%
  490. dplyr::count()
  491. similarity_summary_all %>%
  492. dplyr::group_by(relation) %>%
  493. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  494. compare_means(similarity ~ relation, data = similarity_summary_all)
  495. similarity_summary %>%
  496. dplyr::group_by(relation) %>%
  497. dplyr::count()
  498. similarity_summary %>%
  499. dplyr::group_by(relation) %>%
  500. dplyr::summarise(mean(similarity, na.rm = FALSE), median(similarity, na.rm = FALSE))
  501. compare_means(similarity ~ relation, data = similarity_summary)
  502. ```
  503. ```{r}
  504. my_comparison <- list(c("between sensillar types", "within sensillar type"),
  505. c("between sensillar types", "within sensillum"),
  506. c("within sensillar type", "within sensillum"))
  507. showtext_auto()
  508. data <- similarity_summary
  509. ggplot(data, aes(x = relation, y = similarity, fill = relation)) +
  510. geom_boxplot() +
  511. #geom_violin() +
  512. #geom_jitter() +
  513. geom_signif(
  514. comparisons = my_comparison,
  515. na.rm = TRUE,
  516. #test = "t.test",
  517. step_increase = 0.1,
  518. textsize = 4,
  519. map_signif_level = function(p) sprintf("%.2g", p),
  520. #y_position = 0.5
  521. ) +
  522. scale_fill_manual(values = c(
  523. "between sensillar types" = "#9BC985",
  524. "within sensillar type" = "#F7D58B",
  525. "within sensillum" = "#B595BF"
  526. )) +
  527. #ylim(NA, 1) +
  528. #coord_fixed(ratio=1) +
  529. theme_classic() +
  530. theme(aspect.ratio = 1) +
  531. theme(#axis.text.x = element_text(angle = 45, vjust = 1, hjust = 1),
  532. axis.text.x = element_blank(),
  533. axis.title.x=element_blank(),
  534. axis.title.y=element_text(size = 18),
  535. legend.title=element_text(size = 18),
  536. legend.text=element_text(size = 15)
  537. )
  538. #ggsave("similarity_comparison_spectrum_shuffle.pdf")
  539. ```

ORN GAL4 pattern analysis.Rmd at commit 0585e16, under MIT · at the source

Overview

Authors: Qichen Duan1, Sumie Okuwa1, Rachel Estrella1, Chun Yeung1, Yu-Chieh David Chen2, Laura Quintana Rio3, Chengcheng Du1, Khanh M. Vien1, Pelin Cayirlioglu Volkan1
  1. Department of Biology, Duke University, Durham, North Carolina, United States of America
  2. Department of Biology, New York University, New York, New York, United States of America
  3. Department of Biochemistry and Molecular Biophysics, Columbia University, New York, New York, United States of America
Institutions: Duke University (United States); New York University (United States); Columbia University (United States)
Journal: PLoS biology, volume 24, issue 8, article e3003955
Dates: received 1 June 2026; accepted 3 August 2026; published online 27 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1371/journal.pbio.3003955 · PMID 42659622 · PMCID PMC13521578 · OpenAlex W7204466559
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: other (organism), drosophila (organism), cellular / molecular (subfield)
Methods: Connectivity, Statistics, Machine learning, Evoked potentials, fMRI & imaging
MeSH: Drosophila melanogaster*, Drosophila Proteins*, Membrane Proteins*, Olfactory Pathways*, Olfactory Receptor Neurons*, Animals, Animals, Genetically Modified, Neurons, Synapses (* major topic)
Journal subjects: Biology and Life Sciences, Cell Biology, Cellular Types, Animal Cells, Neurons, Afferent Neurons, Olfactory Receptor Neurons, Neuroscience, Cellular Neuroscience, Research and Analysis Methods, Animal Studies, Experimental Organism Systems, Model Organisms, Drosophila Melanogaster, Animal Models, Zoology, Entomology, Insects, Drosophila, Organisms, Eukaryota, Animals, Invertebrates, Arthropoda, Hymenoptera, Ants, Genetics, Gene Expression, Epigenetics, RNA interference, Genetic interference, Biochemistry, Nucleic acids, RNA, Anatomy, Nervous System, Synapses, Medicine and Health Sciences, Physiology, Electrophysiology, Neurophysiology, Medical Conditions, Infectious Diseases, Disease Vectors, Insect Vectors, Mosquitoes, Species Interactions
Topic: Neurobiology and Insect Physiology Research (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 121 references in the paper

Abstract

Over the past decades, many molecular players have been uncovered to control distinct steps of olfactory circuit assembly in Drosophila. Among these, multi-member gene families encoding cell-surface proteins are of interest as they can act as neuron-specific recognition tags in combinations and contribute to circuit assembly in complex brains. Recently, a multi-protein interactome has been described between Beat and Side families of IgSF proteins. Here, we use newly generated gene trap transgenic driver lines to probe the spatial expression pattern of beat/side genes in olfactory receptor neurons (ORNs) and their synaptic target projection neurons (PNs). Our results revealed that each ORN/PN class expresses a specific combination of beat/side genes, hierarchically regulated by lineage-specific genetic programs. To explore whether the class-specific expression of beats/sides defines ORN-PN matching specificity, we perturbed presynaptic beat-IIa and postsynaptic side-IV in two ORN-PN partners. However, disruption of Beat-IIa-Side-IV interaction did not produce any significant mistargeting in these two examined glomeruli. Our expression mapping revealed that the Beat/Side interactome between ORNs and PNs appears to be error-tolerant, supporting the robust trans-synaptic recognition. Though without affecting general glomerular targeting, knockdown of side in ORNs leads to the reduction of synaptic development. Interestingly, we found conserved expression patterns of beat/side orthologs across ORNs in ants and mosquitoes, indicating the shared regulatory strategies specifying the expression of these duplicated paralogs in insect evolution. This also implies the biological significance of beats/sides in ORN circuit development or function, which is preserved under selective pressure across divergent insect lineages. Overall, this comprehensive analysis of expression patterns lays a foundation for in-depth functional investigations into how Beat/Side combinatorial expression contributes to the olfactory circuit assembly.

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 9 matches between paragraphs and lines of code.

volkanlab/beats_sides_olfactory_circuit_Drosophila_Duan_PlosBio2026

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 0585e16bb5e8d66faa8988c0a1087339bc7ade57, 29 July 2026
Languages: R (16)
Size: 72 files, 16 scripts
Software Heritage: not archived
Found in: “Data Availability”
Holds: README, license file, 16 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (16 files), ggpubr (5 files), pheatmap (3 files), ggplot2 (2 files), Seurat (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
18 files

Zenodo 21652764

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data Availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)

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;
  • 16 scripts, each with its path and the digest of its content;
  • 9 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

The underlying data for each figure can be found in S1-5 Data. The customized codes to generate all illustrations, statistical graphs, and reanalysis of previously published RNA-seq datasets can be accessed in https://github.com/volkanlab/beats_sides_olfactory_circuit_Drosophila_Duan_PlosBio2026 and are archived in https://doi.org/10.5281/zenodo.21652764.

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, 9 authors, 9 MeSH terms, 3 funders, 121 references.

Cite

This paper

Duan, Q., Okuwa, S., Estrella, R., Yeung, C., Chen, Y.-C. D., Rio, L. Q., Du, C., Vien, K. M., & Volkan, P. C. (2026). Beat- and Side-family cell-surface molecules are expressed combinatorially in the partner neurons of the olfactory circuit in Drosophila. PLoS biology, 24(8), e3003955. https://doi.org/10.1371/journal.pbio.3003955

BibTeX

@article{duan2026beat,
author = {Duan, Qichen and Okuwa, Sumie and Estrella, Rachel and Yeung, Chun and Chen, Yu-Chieh David and Rio, Laura Quintana and Du, Chengcheng and Vien, Khanh M. and Volkan, Pelin Cayirlioglu},
title = {{Beat- and Side-family cell-surface molecules are expressed combinatorially in the partner neurons of the olfactory circuit in Drosophila}},
journal = {PLoS biology},
year = {2026},
month = aug,
volume = {24},
number = {8},
pages = {e3003955},
publisher = {PLOS},
issn = {1544-9173},
doi = {10.1371/journal.pbio.3003955},
url = {https://doi.org/10.1371/journal.pbio.3003955},
pmid = {42659622},
pmcid = {PMC13521578}
}

RIS

TY - JOUR
AU - Duan, Qichen
AU - Okuwa, Sumie
AU - Estrella, Rachel
AU - Yeung, Chun
AU - Chen, Yu-Chieh David
AU - Rio, Laura Quintana
AU - Du, Chengcheng
AU - Vien, Khanh M.
AU - Volkan, Pelin Cayirlioglu
TI - Beat- and Side-family cell-surface molecules are expressed combinatorially in the partner neurons of the olfactory circuit in Drosophila
T2 - PLoS biology
J2 - PLoS Biol
PY - 2026
DA - 2026/08/27
VL - 24
IS - 8
SP - e3003955
SN - 1544-9173
PB - PLOS
DO - 10.1371/journal.pbio.3003955
UR - https://doi.org/10.1371/journal.pbio.3003955
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.pbio.3003955",
"type": "article-journal",
"title": "Beat- and Side-family cell-surface molecules are expressed combinatorially in the partner neurons of the olfactory circuit in Drosophila",
"container-title": "PLoS biology",
"author": [
{
"family": "Duan",
"given": "Qichen"
},
{
"family": "Okuwa",
"given": "Sumie"
},
{
"family": "Estrella",
"given": "Rachel"
},
{
"family": "Yeung",
"given": "Chun"
},
{
"family": "Chen",
"given": "Yu-Chieh David"
},
{
"family": "Rio",
"given": "Laura Quintana"
},
{
"family": "Du",
"given": "Chengcheng"
},
{
"family": "Vien",
"given": "Khanh M."
},
{
"family": "Volkan",
"given": "Pelin Cayirlioglu"
}
],
"container-title-short": "PLoS Biol",
"volume": "24",
"issue": "8",
"page": "e3003955",
"DOI": "10.1371/journal.pbio.3003955",
"PMID": "42659622",
"PMCID": "PMC13521578",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.pbio.3003955",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
27
]
]
}
}

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/s41586-026-10526-3
Transcription factor codes patterning neuronal groundplans of the cerebrum.
Journal: Nature
In common: drosophila, cellular / molecular, 14 references
[2] doi:10.1038/s41467-026-76682-2 [code]
Odorant receptor coexpression and multi-expression in the dengue mosquito.
Journal: Nature communications
In common: Seurat, ggpubr, tidyverse, drosophila, other, cellular / molecular, 7 references
[3] doi:10.1038/s41586-026-10797-w [code]
A global molecular code for birth order and neuronal identity in Drosophila.
Journal: Nature
In common: Seurat, ggplot2, tidyverse, drosophila, cellular / molecular, 8 references
[4] doi:10.1371/journal.pbio.3003959 [code]
Recurrent synapses between CO2-sensitive olfactory sensory neurons enable robust CO2 detection in Aedes aegypti mosquitoes.
Journal: PLoS biology
In common: drosophila, cellular / molecular, 7 references
[5] doi:10.1038/s41586-026-10735-w [code]
Distributed control circuits across a brain-and-cord connectome.
Journal: Nature
In common: pheatmap, ggpubr, ggplot2, 1 other tool, drosophila, 4 references
[6] doi:10.1371/journal.pgen.1012090 [code]
Delta family protocadherins contribute to protoglomerular targeting of olfactory sensory neuron axons in the olfactory bulb.
Journal: PLoS genetics
In common: pheatmap, Seurat, ggplot2, 1 other tool, cellular / molecular, 2 references
[7] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: pheatmap, Seurat, ggpubr, 2 other tools, other, cellular / molecular
[8] doi:10.1038/s41467-026-73305-8 [code]
Comparative analysis of the cellular landscape in mammalian striatum.
Journal: Nature communications
In common: pheatmap, Seurat, ggpubr, 2 other tools, other, cellular / molecular
[9] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: pheatmap, Seurat, ggpubr, 2 other tools, cellular / molecular
[10] doi:10.1126/sciadv.aed2952 [code]
Activation of transposable elements is linked to a region- and cell type-specific interferon response in Parkinson's disease.
Journal: Science advances
In common: pheatmap, Seurat, ggpubr, 2 other tools, cellular / molecular

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.

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.