[R] How to plot more than 3 sets in Venn Diagrams?

davidr@rhotrading.com davidr at rhotrading.com
Thu Jun 9 16:53:02 CEST 2005


Here is a link to see what's possible. 
http://www.combinatorics.org/Surveys/ds5/VennSymmEJC.html

Venn did 4 sets with ellipses (see wikipedia.)

(There was an article in the last year (I think) in one of my math
journals that presented someone who made these complex Venn diagrams as
artwork and sold, but I can't remember the person's name right now.)

HTH
David L. Reiner

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Tan Hui Hui Jenny
Sent: Wednesday, June 08, 2005 7:16 PM
To: r-help at stat.math.ethz.ch
Subject: [R] How to plot more than 3 sets in Venn Diagrams?

I'm trying to plot Venn diagrams with more than 3 sets (5 actually) in
order to describe graphically the genetic variation between populations.
 
I tried the limma library but realised it can only plot 3 sets.
 
Is there any solution? Of course I could plot the chart manually but
it'll take too long (have other datasets)..... One of my dataset is
given below. 
 
THanks for any advice. 
 
j
 
	AA	 CH	 EA	 IN	 MY	
[1,]	 0	 0	 0	 1	 0	
[2,]	 1	 0	 0	 0	 0	
[3,]	 1	 0	 0	 0	 0	
[4,]	 0	 0	 0	 0	 1	
[5,]	 1	 0	 0	 0	 0	
[6,]	 1	 0	 0	 0	 0	
[7,]	 1	 0	 0	 0	 0	
[8,]	 1	 0	 0	 1	 0	
[9,]	 1	 0	 0	 0	 0	
[10,]	 1	 0	 0	 0	 0	
[11,]	 1	 0	 0	 0	 0	
[12,]	 0	 0	 0	 0	 1	
[13,]	 1	 0	 0	 0	 0	
[14,]	 0	 0	 1	 0	 0	
[15,]	 1	 0	 0	 0	 0	
[16,]	 0	 0	 1	 0	 0	
[17,]	 1	 0	 0	 0	 0	
[18,]	 0	 0	 0	 1	 0	
[19,]	 1	 0	 0	 1	 0	
[20,]	 0	 0	 1	 0	 0	
[21,]	 0	 1	 0	 0	 0	
[22,]	 1	 0	 0	 0	 0	
[23,]	 0	 0	 1	 0	 0	
[24,]	 1	 0	 1	 1	 1	
[25,]	 0	 1	 0	 0	 0	
[26,]	 1	 0	 0	 0	 0	
[27,]	 1	 0	 0	 0	 0	
[28,]	 0	 0	 0	 1	 0	
[29,]	 0	 0	 0	 1	 0	
[30,]	 1	 0	 0	 0	 0	
[31,]	 1	 0	 0	 0	 0	
[32,]	 0	 0	 0	 1	 0	
[33,]	 0	 0	 0	 1	 0	
[34,]	 0	 1	 0	 0	 0	
[35,]	 1	 0	 0	 0	 0	
[36,]	 0	 0	 0	 1	 0	
[37,]	 0	 0	 1	 1	 0	
[38,]	 1	 0	 0	 1	 0	
[39,]	 0	 0	 0	 1	 0	
[40,]	 0	 0	 0	 1	 0	
[41,]	 0	 1	 0	 0	 0	
[42,]	 1	 0	 0	 0	 0	
[43,]	 0	 0	 0	 1	 0	
[44,]	 0	 0	 1	 0	 0	
[45,]	 1	 0	 0	 0	 0	
[46,]	 1	 0	 0	 0	 0	
[47,]	 0	 0	 0	 1	 0	
[48,]	 1	 0	 0	 0	 0	
[49,]	 0	 0	 0	 1	 0	
[50,]	 0	 0	 1	 0	 0	
[51,]	 0	 0	 0	 1	 0	
[52,]	 1	 0	 0	 0	 0	
[53,]	 0	 0	 0	 1	 0	
[54,]	 1	 0	 0	 0	 0	
[55,]	 0	 1	 0	 0	 0

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list