File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -121,21 +121,24 @@ pcoa <- perform_pcoa(mat)
121121plot_pcoa_rewiring(pcoa, scores)
122122```
123123
124- ## Network visualization
124+ ## Structure visualization
125125
126- Build a chord diagram from the ROR data to visualize modification rewiring
127- between positions .
126+ Plot significant rewiring linkages on the tRNA cloverleaf structure for a
127+ single isodecoder .
128128
129129``` {r}
130- #| label: fig-chord-ror
131- #| fig.cap: "Chord diagram of modification rewiring between control and infected conditions."
132- #| fig.width: 6
133- #| fig.height: 6
134- ror_agg <- ror |>
135- dplyr::group_by(pos1, pos2) |>
136- dplyr::summarise(log_ror = mean(ror), .groups = "drop")
137-
138- plot_chord_ror(ror_agg, title = "Modification rewiring: inf vs ctl")
130+ #| label: fig-structure-ror
131+ #| fig.cap: "tRNA structure showing significant modification rewiring linkages for tRNA-Glu-TTC."
132+ ror_glu <- ror |>
133+ filter(isodecoder == "tRNA-Glu-TTC", significant) |>
134+ rename(value = ror)
135+
136+ svg <- plot_tRNA_structure(
137+ "tRNA-Glu-TTC",
138+ "Escherichia coli",
139+ linkages = ror_glu
140+ )
141+ structure_html(svg)
139142```
140143
141144## Session info
You can’t perform that action at this time.
0 commit comments