patchwork: combining plots and tables on one graph

First we give an introduction to patchwork and we explain how to:

  • combine plots into a graph in a specific layout
  • add a title to the graph and labels to the plots

In the video below we explain how to:

  • refine the layout of the graph
  • add a table to the graph

Then we get our hands dirty and use 2 plots that we have previously created, a Volcano plot and a heatmap (code in R script), to:

  • combine the plots into one graph in the desired layout
  • convert a plot (that is not a ggplot) into a ggplot so patchwork can use it