hms-dbmi/UpSetR

Error: code for combination set should only contain 0 and 1. when trying to plot

theo-krueger opened this issue · 0 comments

When trying to calculate the plot using upset(data) I get the following message:
Error: code for combination set should only contain 0 and 1.
The data input is a combination matrix produced using the ComplexHeatmap package function make_comb_mat() with a community matrix:
`Top 8 combination sets are:
st1 st2 st3 st4 st5 code size
x 10000 6
x 01000 6
x x 01100 3
x 00100 2
x x x x 11110 1
x x x x 11101 1
x x x 01110 1
x x 11000 1

Sets are:
set size
st1 9
st2 14
st3 9
st4 4
st5 2`
Visually, the code column only shows combinations of 0 and 1.
Any ideas why I get the message?