UpSetR icon indicating copy to clipboard operation
UpSetR copied to clipboard

Adding a 'none' category

Open lcrmorin opened this issue 5 years ago • 4 comments

Hello,

The tool is quite practical but for my use case it lacks an 'empty' category : a way to display the population that is in no set.

One option would be to build a new category like 'none', but it would appears on top of existing categories, and show a black dot for the population that appears in 'none'.

I am considering implementing a solution that would take an optional population or an optional count, to display it on top of grey dots.

Would this make sense ? would this be welcome ?

lcrmorin avatar Dec 06 '19 16:12 lcrmorin

Maybe you are looking for something similar at #109

Regards,

Juan

jdhenaos avatar Dec 26 '19 21:12 jdhenaos

Yes, this is what I was looking for. As the author says : "That does help as an interim solution, but I would still enjoy seeing the inclusion of the empty set as a feature."

lcrmorin avatar Jan 03 '20 10:01 lcrmorin

FWIW, seconded. It would be really helpful to have a column (referring to the plot here: https://github.com/hms-dbmi/UpSetR/issues/109#issuecomment-380642611) with all circles greyed out and without the additional row of 'nulls'.

jergosh avatar Jan 09 '20 10:01 jergosh

FYI I you can do empty sets in the complexheatmap package's implementation of upset plots:

https://jokergoo.github.io/ComplexHeatmap-reference/book/upset-plot.html

RichardJActon avatar Apr 10 '20 19:04 RichardJActon