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
753 stars 153 forks source link

Add a possibility to allow the universal empty set #256

Open AlexisDerumigny opened 11 months ago

AlexisDerumigny commented 11 months ago

Thanks for this package, it is very helpful!

In my application, it is also of interest to allow the universal empty set (i.e. if some rows of the dataset have no answer selected).

This PR adds a new option keep.universal.empty.set which is FALSE by default (to be back-compatible). When keep.universal.empty.set = TRUE, the output graph also includes the universal empty set as well as all the other sets that have been chosen, as usual.