This chapter demonstrates the R and the dot codes that make 6  Main Figures and 7  Supplementary Text Figures shown in the paper.

R package dependencies

You need to install R ggplot2 as well as my own publication theme called theme_Publication in _libs.

Code
library("ggplot2")
source("static/R/_libs/theme_publish.R")