including r code and dotplot image