Faceted log-scaled line plot with error bars using stat_summary from ggplot2 in R (CC326)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 8

  • @Riffomonas
    @Riffomonas  หลายเดือนก่อน +3

    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.

  • @erikp6614
    @erikp6614 หลายเดือนก่อน +1

    Your videos are very nice! Thank you!

    • @Riffomonas
      @Riffomonas  หลายเดือนก่อน

      Thanks! 🤓

  • @PhilippusCesena
    @PhilippusCesena หลายเดือนก่อน +1

    Great video, as always super explanatory and helpful for us

    • @Riffomonas
      @Riffomonas  หลายเดือนก่อน

      Thanks! 🤓

  • @zjardynliera-hood5609
    @zjardynliera-hood5609 หลายเดือนก่อน +1

    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.

    • @Riffomonas
      @Riffomonas  หลายเดือนก่อน

      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!