Is there any way to add labels on top of the set size bars in UpsetR similar to the show.numbers for the main intersection graph?
test <- upset(grouped_hot,
sets = c("A", "B", "C", "N"),
nintersects = 8,
mb.ratio = c(0.6, 0.4),
sets.x.label = "Number of Patients",
sets.bar.color = "#56B4E9",
mainbar.y.label = "Number of Patients",
order.by = "freq",
empty.intersections = "on",
keep.order = FALSE,
scale.sets = "identity",
att.pos = "top",
text.scale = c(2.5, 2.5, 2, 1.5, 2.5, 2.5))
Expected result is to have labels over each of the set size bars stating the size.