linearpackcircles
linearpackcircles(
DF,
ID_var = "ID",
group_var = "group",
area_var = "area",
x_var = "x",
separation_factor = 1,
width_plot = 100,
height_group = 10,
label_circles = TRUE,
max_overlaps = 8,
size_text = 3,
highlight_ID = NULL,
random_seed = 12,
area_multiplier = 1
)
input dataframe
ID variable
group variable
area variable
x axis variable
how much separation between groups
reduce x for plotting by this ratio
height of y axis for each group
Should we draw labels for the circles
overlaps in geom_text_repel
size text labels
Which ID's to highlight
random seed to use
multiply area size by this
ggplot object