This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Venn diagram with 11 sets

Hi All,

can anyone recommend me a tool/package, which allows me to create Venn diagrams up to 11 sets? The packages which I have found so far can support to create less sets only.

Many thanks!

r statistics venn diagram

7 answers

This is not an answer, and you may be upset :-) In my opinion, it is not practically useful to do Venn diagram for more then 4 or 5 sets. More than that, it is horribly difficult for reader to look at and understand what it conveys. It is also difficult to explain about the result for the authors themselves. So, if possible, divide them into smaller groups. I beg you as a reader.

When I was a kid I tried to make n-dimensional 'venn-like' diagrams, based on some magic formula that involved cutting a circle into n+1 slices, and connecting the dots in some way that always created the right number of sub-sets and never duplicates

Intuitively, I seemed to think it could work, but I never finished the algorithm beyond four sets because, as others have noted, large-set venn diagrams suck, and you should pretty much always use a heatmap :P :)

Please rethink how you want to present this data. If you try to Venn >= 4 sets the human brain can't make sense of the image (unless there are some disjoint sets present)

A simpler way to present this, would be to create 11 nodes in Cytoscape (or similar) that represent your sets, and link them to their elements. I don't think it would be a great image, but it would be easier to comprehend

I agree, but you'll loose all the information on items shared by 2+ sets. E.g. most elements shared between pairs of sets could be either unique or the same for all pairs of sets, you'll never know this from a graph.

No you won't. The elements themselves would be nodes. An element in three sets would have three links to the three sets in which is a member. You wouldn't lose any information .... but, admittedly, the image would not be brilliant

why was this changed to an answer? Nothing constructive was stated

Yes, don't do it!

Or make a pie chart instead.

Just kidding about the pie chart.

Try this--way better than a Venn for this situation: http://vcg.github.io/upset/about/ UpSet is really neat, and designed exactly for the problem that Venns do not scale well in genomics type of data sets.

Wow thats cool :)

It is! I actually talked to the developer at a conference, and he told me he was spurred to do it by the tragic and awesome banana Venn diagram. He was UpSet by it--heh. You can see he notes that in his paper.

That being said, to render all 11-set overlaps with an Eulergrid (either with my scripts or with the UpSet tool) would require showing 211 - 1 or 2047 subset combinations - the power set of eleven members - in one figure.

Showing all 2047 combinations would render a very wide or very tall figure - one that would be very difficult to fit into a journal article, at least! If the end user can focus on subsets of the 11 sets, that will make a more viewable or comprehensible figure.

I sympathize with others suggesting not to do it. However, you might want to check out this thread Venn/Euler Diagram Of Four Or More Sets in particular Alex Reynold's answer.

  1. Like anybody else I would not recommend doing this
  2. but I want to share this interesting paper about 11-way Venn Diagrams because it has pretty pictures (which also kind of show why you should not use it in my opinion)

Log in to answer this question.