UpSetR icon indicating copy to clipboard operation
UpSetR copied to clipboard

set membership columns with only 0s are not treated as sets

Open ngehlenborg opened this issue 7 years ago • 5 comments

Identifier,FS30,FS60,FS120,FS180,FS360,BSLPM
5_8S_rRNA,0,0,0,0,0,1
7SK,0,1,1,1,1,0
AABR07004894.1,0,0,0,1,0,0
AABR07015081.2,0,0,1,0,0,0

In the above example, the first column ("FS30") contains only 0s. Trying to create an upset plot on this matrix will only contain sets "FS60", "FS120", "FS180", "FS360", and "BSLPM", even when nsets=6 and empty.intersections=TRUE, e.g.

> upset(Upregulated_Upset,nsets=6,empty.intersections =T)

will generate this:

image

ngehlenborg avatar Jul 12 '17 12:07 ngehlenborg

Hi there, I'm having this same issue and I would like to be able to include the set with nothing present. I have also tried: upset(df, empty.intersections = "on")

Is there any way I can show the empty set?

madeleineotway avatar Jun 20 '19 03:06 madeleineotway

Hi.

Did you solve this problem? I need to plot an "empty set" too.

Kind regards,

Juan

jdhenaos avatar Dec 26 '19 21:12 jdhenaos

Seconded – any progress on this? Would be a really helpful feature.

Thanks, Braden

b-tierney avatar Jan 08 '20 16:01 b-tierney

Thirded, Im having trouble with this as well

dewrankocak avatar Apr 05 '20 00:04 dewrankocak

Hi. Any progress? I also have an empty set that I would like to be represented in the plot Thanks

murillopagnotta avatar Jan 28 '22 17:01 murillopagnotta