Skip to content

How to scale circle sizes in VennDiagram using draw.triple.venn

4 messages · Yung-Chih Lai, Ulrik Stervbo

#
Hi,


The below is the command I used to create a Venn diagram with three sets.
However, the three circle sizes are the same. Could you show me how to
adjust the circle size based on the area size? Many thanks.

grid.newpage()

draw.triple.venn(area1 = 9737, area2 = 13329, area3 = 6300, n12 = 8612, n23
= 6176, n13 = 5781, n123 = 5748, category = c("G8_13", "G8_14", "G8_15"),
lty = "blank", fill = c("pink", "light blue", "orange"))


Best,


Gary
#
I usually use the package Vennerable for all my Venn needs. It also has the
option to draw weighted diagrams.

HTH
Ulrik

Yung-Chih Lai <yungchihlai at gmail.com> schrieb am Fr., 16. Dez. 2016, 21:40:

  
  
5 days later
#
Hi Ulrik,

It seems that VennDiagram cannot draw weighted diagrams. Many thanks for
your information.

Best,

Gary

On Fri, Dec 16, 2016 at 4:09 PM, Ulrik Stervbo <ulrik.stervbo at gmail.com>
wrote:

  
  
#
Hi Yung-Chih,

This works for me:

library(Vennerable)
data("StemCell")

venn_res <- Venn(StemCell[1:3])
plot(venn_res, doWeights = TRUE)

HTH
Ulrik
On Thu, 22 Dec 2016 at 20:54 Yung-Chih Lai <yungchihlai at gmail.com> wrote: