Useful for creating common shape legend for multiple scatter plots
1  | get_shape_legend(batch, my_shape_palette)
 | 
batch | 
 factor or vector of the batch labels  | 
my_shape_palette | 
 a vector of numbers corresponding to the shape palette http://www.sthda.com/english/wiki/ggplot2-point-shapes  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.