Question: Venn diagrams for multiple (8) data lists in R
0
gravatar for arronar
3.6 years ago by
arronar240
Austria
arronar240 wrote:

Hi.

I have around eight different lists with numerical values and i want to create a Venn plot for all of them. My lists looks like the above and have different length.

l1 = c(12,1234,544,6546,6445,45465,4566,1333)
l2 = c(89,2344,2346,6564,6424,770,12,4566,1333,4003,234,432)
l3 = c(4003,4002,432,1234)
l4 = ....
l5 = ....

I tried to use the vennDiagram from limma package but without any success and maybe because they have different length.

Is there any quick way to build a Venn diagram for them without calculating by hand the overlap values for each one with the other with intersect() function ?

Thank you

venn diagram R • 8.3k views
ADD COMMENTlink modified 3.6 years ago by EagleEye6.7k • written 3.6 years ago by arronar240

might be better to just provided a binary matrix and pair-wise overlaps than an unreadable Venn diagram

ADD REPLYlink written 3.6 years ago by russhh5.5k
10
gravatar for Jean-Karim Heriche
3.6 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche24k wrote:

There's the venneuler package for this. Note that Euler diagrams with many sets are usually poor visualizations and are best avoided. You should try alternative visualizations e.g. from the UpSetR package.

ADD COMMENTlink written 3.6 years ago by Jean-Karim Heriche24k

Upvote for UpSetR. I used it recently, and though it took me some time to know how to read it properly - and explain it to my colleagues - it was easy enough to create a simple plot. Definitely and improvement on an 8-way venn which will be unreadable.

ADD REPLYlink written 3.6 years ago by A. Domingues2.4k

+1 for UpSetR from me too. It needs some familiarization to read it but it's really helpful.

ADD REPLYlink modified 3.6 years ago • written 3.6 years ago by arronar240

Kudos for UpSetR! I've been looking for a tool like this for a while.

ADD REPLYlink written 3.0 years ago by Olivier440
5
gravatar for EagleEye
3.6 years ago by
EagleEye6.7k
Sweden
EagleEye6.7k wrote:

You can download the generated SVG file and customize as you want.

http://bioinformatics.psb.ugent.be/webtools/Venn/

ADD COMMENTlink modified 3.6 years ago • written 3.6 years ago by EagleEye6.7k

This link is interesting. Thanks for sharing. +1 for the amazing link

ADD REPLYlink written 3.6 years ago by ivivek_ngs5.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1984 users visited in the last hour