News
To add a trend line to your scatter plot using ggplot2, you need to use the geom_smooth() function, which adds a smoothed conditional mean to the plot. For example, if you have the same data frame ...
It’s also possible to add text or tables in the grid, not only plots, although at that point I’d probably be using an R Markdown or Quarto document. patchwork is by Thomas Lin Pedersen and is ...
The functions `geom_hline()` and `geom_vline()` can be used to add extra horizontal and vertical lines on your plot respectively. In this example, I am interested in visualising boundaries for genes ...
ggplot2 is based on Grid graphics, and is therefore mostly incompatible with standard R graphics functions. In particular, par() is without effect to specify a layout (mfrow, etc.) idem for layout() ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results