I'd love to hear what kids of problems you run into when making faceted plots or combining different plots together into a single figure! Leave a note here in the comments.
My main issue with faceting is how it interacts with additional layers. I was trying to make those relative abundance bar plots, but with a little line at the bottom to represent the percent read abundance, which I saw in a paper. If you try to facet this, the line would does not facet with the other objects and becomes duplicated and looks bad. To fix this I was looking into ggside, and adding the line at the top, rather than superimposing it as another layer.
Interesting! Have you tried using geom_hline with a separate data frame that has the variable name of the facet? I'll see if I can find an example to do in a future episode. Let me know if you find one you like!
I'd love to hear what kids of problems you run into when making faceted plots or combining different plots together into a single figure! Leave a note here in the comments.
Your videos are very nice! Thank you!
Thanks! 🤓
Great video, as always super explanatory and helpful for us
Thanks! 🤓
My main issue with faceting is how it interacts with additional layers. I was trying to make those relative abundance bar plots, but with a little line at the bottom to represent the percent read abundance, which I saw in a paper. If you try to facet this, the line would does not facet with the other objects and becomes duplicated and looks bad. To fix this I was looking into ggside, and adding the line at the top, rather than superimposing it as another layer.
Interesting! Have you tried using geom_hline with a separate data frame that has the variable name of the facet? I'll see if I can find an example to do in a future episode. Let me know if you find one you like!