Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theo-krueger opened this issue Jun 22, 2022 · 0 comments

Comments

@theo-krueger
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant