get_shape_legend: Legend for shapes in a scatter plot

Description Usage Arguments

View source: R/plotting.R

Description

Useful for creating common shape legend for multiple scatter plots

Usage

1
get_shape_legend(batch, my_shape_palette)

Arguments

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


YutongWangUMich/CorGI documentation built on Oct. 28, 2019, 4:38 a.m.