Unable to create venndiagram using VennDiagram 1.5.1 package
3
0
Entering edit mode
jay kumar ▴ 10
@jay-kumar-5598
Last seen 10.2 years ago
Dear Members I am trying to create a venn diagram with four sets using VennDiagram 1.5.1 package. When I try to plot,it gives me the following error message Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = 293, : Impossible: partial areas negative. I call the function as mentioned below > venn.plot <- draw.quad.venn( area1 = 263, area2 = 311, area3 = 319, area4 = 293, n12 = 230, n13 = 216, n14 = 217, n23 = 226, n24 = 214, n34 = 228, n123 = 227, n124 = 213, n134 = 214, n234 = 250, n1234 = 212, category = c("First", "Second", "Third", "Fourth"),fill = c("orange", "red", "green", "blue"), lty = "dashed", cex = 2, cat.cex = 2, cat.col = c("orange", "red", "green", "blue")); Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = 293, : Impossible: partial areas negative > sessionInfo() R version 2.15.2 (2012-10-26) Platform: x86_64-w64-mingw32/x64 (64-bit) attached base packages: [1] grid stats graphics grDevices utils datasets methods base other attached packages: [1] VennDiagram_1.5.1 I would really appreciate if some one could guide me in sorting this ,as I have no clue about my mistake. Looking forward for your reply Jay Belli PhD student Scuola superiore sant Anna Pisa Italy [[alternative HTML version deleted]]
• 114k views
ADD COMMENT
0
Entering edit mode
wenhuo hu ▴ 200
@wenhuo-hu-5208
Last seen 6.5 years ago
United States
Though I can not what exactly this happened to you. It seems the number might be miscalculated according the error message. I used use venn.diagram function, this works very elegant. On Fri, Nov 9, 2012 at 11:22 AM, jay kumar <j.belliekullan@sssup.it> wrote: > Dear Members > > I am trying to create a venn diagram with four sets using VennDiagram 1.5.1 > package. When I try to plot,it gives me the following error message > > Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = > 293, : > Impossible: partial areas negative. > > I call the function as mentioned below > > > venn.plot <- draw.quad.venn( area1 = 263, area2 = 311, area3 = 319, area4 > = 293, n12 = 230, n13 = 216, n14 = 217, n23 = 226, n24 = 214, n34 = 228, > n123 = 227, n124 = 213, n134 = 214, n234 = 250, n1234 = 212, category = > c("First", "Second", "Third", "Fourth"),fill = c("orange", "red", "green", > "blue"), lty = "dashed", cex = 2, cat.cex = 2, cat.col = c("orange", "red", > "green", "blue")); > Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = 293, > : > Impossible: partial areas negative > > > > sessionInfo() > > R version 2.15.2 (2012-10-26) > Platform: x86_64-w64-mingw32/x64 (64-bit) > attached base packages: > [1] grid stats graphics grDevices utils datasets methods > base > > other attached packages: > [1] VennDiagram_1.5.1 > > > I would really appreciate if some one could guide me in sorting this ,as I > have no clue about my mistake. > > Looking forward for your reply > > Jay Belli > PhD student > Scuola superiore sant Anna Pisa > Italy > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Wenhuo Hu Park lab Memorial Sloan Kettering Cancer Center Zuckerman Research Building 408 East 69th Street Room ZRC-527 New York, NY 10065 Phone 646-888-3220 huw@mskcc.org [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
As Wenhuo said your numbers as miscalculated. The intersection of groups 1, 2, 3 has 227 elements (n123=227) one element more than the intersection of 2 and 3 (n23 =226) which is impossible. I hope this helps. cheers, Achilleas On Fri, Nov 9, 2012 at 11:51 AM, wenhuo hu <huwenhuo@gmail.com> wrote: > Though I can not what exactly this happened to you. It seems the number > might be miscalculated according the error message. I used use venn.diagram > function, this works very elegant. > > On Fri, Nov 9, 2012 at 11:22 AM, jay kumar <j.belliekullan@sssup.it> > wrote: > > > Dear Members > > > > I am trying to create a venn diagram with four sets using VennDiagram > 1.5.1 > > package. When I try to plot,it gives me the following error message > > > > Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = > > 293, : > > Impossible: partial areas negative. > > > > I call the function as mentioned below > > > > > venn.plot <- draw.quad.venn( area1 = 263, area2 = 311, area3 = 319, > area4 > > = 293, n12 = 230, n13 = 216, n14 = 217, n23 = 226, n24 = 214, n34 = 228, > > n123 = 227, n124 = 213, n134 = 214, n234 = 250, n1234 = 212, category = > > c("First", "Second", "Third", "Fourth"),fill = c("orange", "red", > "green", > > "blue"), lty = "dashed", cex = 2, cat.cex = 2, cat.col = c("orange", > "red", > > "green", "blue")); > > Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 = > 293, > > : > > Impossible: partial areas negative > > > > > > > sessionInfo() > > > > R version 2.15.2 (2012-10-26) > > Platform: x86_64-w64-mingw32/x64 (64-bit) > > attached base packages: > > [1] grid stats graphics grDevices utils datasets methods > > base > > > > other attached packages: > > [1] VennDiagram_1.5.1 > > > > > > I would really appreciate if some one could guide me in sorting this ,as > I > > have no clue about my mistake. > > > > Looking forward for your reply > > > > Jay Belli > > PhD student > > Scuola superiore sant Anna Pisa > > Italy > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor@r-project.org > > https://stat.ethz.ch/mailman/listinfo/bioconductor > > Search the archives: > > http://news.gmane.org/gmane.science.biology.informatics.conductor > > > > > > -- > > > Wenhuo Hu > Park lab > > Memorial Sloan Kettering Cancer Center > Zuckerman Research Building > 408 East 69th Street > Room ZRC-527 > New York, NY 10065 > Phone 646-888-3220 > huw@mskcc.org > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
@89455df0
Last seen 21 months ago
Russia

Best boxers who are fighting click on FootballBettingAlerts.com Visit us and you will be very happy.

ADD COMMENT
0
Entering edit mode
@e7977913
Last seen 20 months ago
Netherlands

Good boxers who are fighting be found on soccer-tips.ru click and you will be extremely sated.

ADD COMMENT

Login before adding your answer.

Traffic: 444 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6