create_plot
create_plot(
DF_prepared,
DF,
ID_var,
group_var,
area_var,
x_var,
separation_factor = 5,
width_plot = 100,
label_circles = FALSE,
max_overlaps = 5,
size_text = 3,
highlight_ID = NULL
)
output of prepare_data()
output of create_polygons()
ID variable
group variable
area variable
x axis variable
how much separation between groups
reduce x for plotting by this ratio
Should we draw labels for the circles
overlaps in geom_text_repel
size text labels
ID's to highlight in plot
ggplot object