UpSetR
UpSetR copied to clipboard
Margin Specification Between Barchart and Set Intersection Panel
When the vertical size of the plotting area is reduced, the elements of the plot can overlap and mask one another. Notice in the example below how the bottom of the bar chart is missing, hidden by the set intersection indicators. The height I set is 4 inches.

I'm having the same problem, but I'm looking at the source code of UpSetR::upset, and I'm looking at the source code of UpSetR::upset, and I'm seeing that Main_bar &Matrix two elements are both gtable objects;So I tried to use the gtable package to increase the spacing, and it worked。
Here's example code:
up_plt=UpSetR::upset(...)
up_plt[["Main_bar"]]= gtable::gtable_add_row_space(as_grob(up_plt[["Main_bar"]]), unit(0.03, "cm"))