hms-dbmi / UpSetR

An R implementation of the UpSet set visualization technique published by Lex, Gehlenborg, et al..
https://cran.rstudio.com/web/packages/UpSetR
Other
763 stars 156 forks source link

Possible to not plot set size? #185

Open leholman opened 4 years ago

leholman commented 4 years ago

Is it possible to easily not plot the set size plot?

By adding the option 'set_size.scale_max=1' I kill the geom_bar that usually plots the bars but the axis is still there.

It would be easy to just get rid of the plot in photoshop etc. but it feels cleaner to have the option for those of us whose application doesn't require this mini plot.

Thx

krassowski commented 4 years ago

Shameless plug: https://krassowski.github.io/complex-upset/articles/Examples_R.html#hide-the-set-sizes-altogether

lukaskon commented 1 year ago

I am also trying to remove the set sizes or move them to the right side, but nothing is working. I don't believe the argument "set_sizes" in the link above works anymore. Here is the code I am running:

upset(FSR, nsets = 8, mainbar.y.label = "Counts by Fungicide Resistance Profile", order.by = "freq", point.size = 2, line.size = 1, show.numbers = FALSE, text.scale = text_scale_options4, set_size.show = FALSE)

Any advice appreciated!

markphillippebworth commented 9 months ago

I've hit the same issue. set_size.show = FALSE is ignored.

ComplexUpset plot lacks the ability to nicely convert a list to the matrix for plotting (as UpSetR does), and doesn't seem to be compatible with UpSetR's function.

ErickNavarroD commented 1 month ago

I have the same issue. Hopefully there's a way to remove the set size