Is there some way to visualize and calculate intersections among multiple groups? Here is sample data (my data has 7 groups). I want to visualize interactions among all groups to show all the possible results like - 1 patient is in both groups 1 & 2, 2 patients are in both groups 1 & 3, 1 patient is in groups 1,2 &3. Is there some nice way to visualize this? If not, at least a way to calculate and present all the number of participants intersecting at all possible group combinations?
| Pt |
Group1 |
Group2 |
Group3 |
| 1 |
0 |
0 |
0 |
| 2 |
0 |
0 |
0 |
| 3 |
1 |
1 |
1 |
| 4 |
1 |
0 |
1 |
| 5 |
1 |
0 |
0 |
| 6 |
0 |
1 |
0 |
| 7 |
0 |
1 |
0 |
| 8 |
0 |
1 |
1 |
| 9 |
0 |
1 |
1 |
| 10 |
0 |
1 |
1 |