UpSetR icon indicating copy to clipboard operation
UpSetR copied to clipboard

Missing intersections when filtering 0 count groups

Open HyprValent opened this issue 3 years ago • 1 comments

I'm trying to create a UpSet plot for a repertoire of 7 items.

However, I want to create the plot such that it plots all possible intersections with count >= 1. I thought this would be accomplished by simply setting empty.intersections = "off", but this seems to cause a significant number of missing intersections that do not have a count of 0. And if I try to set nintersects=NA with the empty.intersections='off', I get back almost all the missing intersections, but it still includes the intersections with a count of 0.

How can I fix this? I can't seem to find any information in the documentation. Thank you!

HyprValent avatar Jan 06 '23 21:01 HyprValent

If you use empty.intersections = NULL, it should work.

I've been trying to incorporate UpSetR in a ShinyApp, and having to deal with NULL as a parameter is kinda awkward. Would it be possible to change this option to accept TRUE/FALSE/NA values?

gavieira avatar Oct 19 '23 18:10 gavieira