Greetings!

I have an issue that drives me crazy this evening...

I have a list of gene vectors, downregulated in different transgenic plants and I want to make a Venn diagram to visualize it and to show the intersections between plants.

But! The results from any package I used (in R) gaves me something like this (the uploaded picture 1)...

What's bothering me:

1. The numbers on "clear" (not intersected) parts of a diagram are lower, than the gensets I have. And I tried to use factor instead of character vectors, to remove possible duplications, to remove symbols (like space) that could cause software misunderstanding - all gaves me nothing... same result.

2. The intersection of vectors is not true - on the picture you can see that the intersection of 2 datasets (of 365 and 154 genes) - is 1133 genes!! How could that be?

The manual usage of intersect function on the same dataset gaves pretty correct results.

Maybe I am misunderstanding about Venn diagrams? Because in a web I found many examples of such strange mistakes - on the second picture from Datanovia you can see that the intersection of the red elliplse (of 58) and yellow (of 144) is 66!

It seemes logical to me that the intersection of 2 vectors cannot be greater than the length of a smaller vector. What am I doing wrong or misunderstanding?

More Igor V Gorbenko's questions See All
Similar questions and discussions