Fabrice Tourre
2013-Jan-27 22:05 UTC
[R] 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.
Ben Bolker
2013-Jan-27 23:50 UTC
[R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Fabrice Tourre <fabrice.ciup <at> gmail.com> writes:> > 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. > >I don't know the package, but it looks like you're trying to draw two bubbles with areas of 3186 and 325. cross.area sounds like the area of the intersection. You can't have an area of intersection that's bigger than one of the categories ...
Paul Boutros
2013-Jan-28 00:41 UTC
[R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
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.
Fabrice Tourre
2013-Jan-28 01:19 UTC
[R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Thank you all. Yes. I just miss understand this part. Now it is OK. On Sun, Jan 27, 2013 at 7:41 PM, Paul Boutros <Paul.Boutros at oicr.on.ca> wrote:> 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.