[R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large

Paul Boutros Paul.Boutros at oicr.on.ca
Mon Jan 28 01:41:27 CET 2013


Hi Fabrice,

The cross.area parameter gives the size of the intersection, which cannot be larger than the size of either set 1 (area1 parameter) or set 2 (area2 parameter).  You probably want:
venn.plot <- draw.pairwise.venn(
area1 = 3186 + 5880,
area2 = 325 + 5880,
cross.area = 5880);

Paul


-----Original Message-----
From: hiekeen at gmail.com [mailto:hiekeen at gmail.com] On Behalf Of Fabrice Tourre
Sent: January-27-13 5:06 PM
To: r-help at r-project.org
Cc: Paul Boutros
Subject: Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large

Dear list,

When I use VennDiagram package, I got a error as follow:

venn.plot <- draw.pairwise.venn(
area1 = 3186,
area2 = 325,
cross.area = 5880);


Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) :
  Impossible: cross section area too large.

Does anyone have suggestion?

Thank you.



More information about the R-help mailing list