I have this data:
String[] a = {"a", "b", "c", "d"};
String[] b = {"c", "d"};
String[] c = {"b", "c"};
Now i need a graphical representation of each intersection of these lists, mostly this will result in a Venn diagram like this: http://manuals.bioinformatics.ucr.edu/_/rsrc/1353282523430/home/R_BioCondManual/r-bioc-temp/venn1.png?height=291&width=400
In my implementation these lists will mostly contain more than 1000 entries and i will have 10+ lists, so a good representation would create a set of strings and would intersect them. in my very simple case this would be result in
set_a = {"c"}; // in all three lists
set_b = {"b", "d"}; // in two of three lists
set_c = {"a"}; // in one of three lists
another requirement is now that the size of the intersection should be proportional to the occurences in the lists. so the size of set_a
should be 3 times bigger than set_c
.
is there any lib for that requirements?