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

Jim Lemon bitwrit at ozemail.com.au
Sat Jun 11 00:55:46 CEST 2005


Tan Hui Hui Jenny wrote:
> 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. 
>  
Hi Jenny,

Best I could do is four sets. The code is a bit rough but consistent 
with the vennDiagram function in the limma package.

Jim
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: venn4.R
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050610/7255c49f/venn4.pl


More information about the R-help mailing list