hms-dbmi/UpSetR

Intersection sizes not as expected

yesitsjess opened this issue · 1 comments

> head(sort(table(unlist(listInput)), decreasing=T))

 2780  8723 13650 14299   709   768 
    5     5     5     5     4     4 

So the entries 2780, 8723, 13650 and 14299 are definitely in all 5 sets.

But the plot, as plotted from this call, shows there are only 2 entries in all 5 sets.
UpSetR::upset(fromList(listInput), order.by="degree", nintersects=NA)

From the venn diagram below I would expect ABCDE = 5 but in my view the upset plot is showing ABCDE = 2.
image

Have I misunderstood what UpSetR is doing?

I was being daft, I forgot to set nsets and it wasn't showing all of my sets. Apologies for the confusion.