I have seen the plot below but don't know what it is called and haven't been able to find the right search terms. The input data would be a dataset with items that can be classified as members of groups A, B, and/or C. The columns represent the number of items that fall into each of the 5 combinations of group memberships that exist in the data set, i.e., there are 50 items that belong to groups A, B and C; 32 that belong to A and B but not C; etc. What is this type of plot called? Thanks.
CodePudding user response:
This is an upset plot, and it's showing how many elements are shared among different sets, e.g. there are 50 elements present in all groups. This plot is useful if you have ca. >4 sets so a Venn diagram would be too messy. You can use R packages UpSetR or ggupset to plot them.