point_size_legend_plot.RdBuild a point size legend plot
point_size_legend_plot(
min_val = 0,
max_val = 1,
max_size = 6,
scale_name = "Fraction of cells",
n_sizes = 6
)numeric, the minimum value in the plot scale (default = 0)
numeric, the maximum value in the plot scale (default = 1)
numeric, the max size of the point scale (default = 6, default for ggplot2::scale_size_area() )
numeric, the number of points in the scale from min_val to max_val, inclusive (default = 6)
character, the name for the values displayed (default = "Fraction of cells")
a ggplot2 point size legend plot