The aim is to count the corresponding 1's in the rows of each subset (>2) of columns:
0 2 4
0 0 1 0
1 1 1 1
2 1 0 0
3 1 1 0
4 1 0 0
... ... ... ...
In above example we would have 4 subsets. Then the idea is to summarize these counts in a bar plot where each bar is labelled according the subset.
The aim is to make an UpSet plot