Closed sjspielman closed 2 years ago
@jaclyn-taroni I think the new commits have addressed the legend issue?
Grey background is still there https://github.com/AlexsLemonade/OpenPBTA-analysis/pull/1275#discussion_r838501181
Grey background is still there https://github.com/AlexsLemonade/OpenPBTA-analysis/pull/1275#discussion_r838501181 Woops forgot the theme!
I updated with theme_pubr()
which gives us a horizontal legend by default. Would we prefer vertical?
Would we prefer vertical?
Probably, I think it gives us more flexibility when we assemble things. How about:
+ theme(legend.background = element_blank())
No success with + theme(legend.background = element_blank())
or other similar modifications, so I just slapped on a theme_classic()
. Seems like it achieves the goal.
@sjspielman I like the new TP53 boxplots with the hypermutant samples, but wanted to note for organizational purposes, this will be a part of figure 4, not figure 3 (since we don't describe the tp53 scores until figure4).
This may need further discussion. Part of this PR flipped the size of the mutational signatures plot to be horizontal specifically so that we could include the hypermutator plot with it. Both plots focus on the same set of cancer groups to explore, and this version of tp53 plot was in part established from an interest to look at hypermutators in conjunction with mutational signatures.
We'll probably want to come to an agreement on this before merging since it may necessitate reverting the mutational signatures plot back to vertical. I don't have very strong thoughts on this, so anyone with strong thoughts please chime in! @jaclyn-taroni @jharenza
Ahhh, I was initially thinking that for figure 3, we would move the chromothripsis plots alongside the co-occurrence plots, then move mut sigs horizontal as the last panel below. Then, we would transition into figure 4- TP53 scores (original panels ABC), then the distribution highlighting hypermutaters. Then, either faceted below the TP53 distribution, telomerase distribution, followed by a final panel with the hazard plot.
Maybe I should write this up to work on the flow and see if we can get that to work.
This was what I was sketching
Ahhh, I was initially thinking that for figure 3, we would move the chromothripsis plots alongside the co-occurrence plots, then move mut sigs horizontal as the last panel below. Then, we would transition into figure 4- TP53 scores (original panels ABC), then the distribution highlighting hypermutaters. Then, either faceted below the TP53 distribution, telomerase distribution, followed by a final panel with the hazard plot.
This seems good!! I'll move the TP53 boxplots as fig 3 and update READMEs accordingly. I'm working on the other TP53 and telomerase figures before the weekend.
From Issue #1271, this PR adds a new figure and updates some existing ones. Specifically:
figures/pdfs/fig3/panels/tp53_panel.pdf
and associated legendfigures/pdfs/fig3/panels/tp53_legend.pdf
New figure scripts were added to
generate_figures.sh
, and any scripts that hadn't been added in there were also added in.Directions for reviewers. Tell potential reviewers what kind of feedback you are soliciting.
pdfs/fig4/figure4.pdf
and its associated README, in favor of new ones coming down the line. Should we keep these for now?generate_figures.sh
(remembering that Issue #1261 will be coming down the line soon).figures/scripts
and keep that module as is. Since that figure in the module was created to be pub-ready, I've been using that still.Is the analysis in a mature enough form that the resulting figure(s) and/or table(s) are ready for review?
yes
Reproducibility Checklist
Documentation Checklist
README
and it is up to date.analyses/README.md
and the entry is up to date.