在 R 中使用 Vennerable 包绘图

Plotting with Vennerable package in R

这是一个非常基本的例子:

library(vennerable)    
srl.venn <- Venn(SetNames=c("Cognitive condition","Operations","Individual differences"),
                 Weight=c(0,30, 21, 15, 1, 8, 3, 6))
plot(srl.venn)

我想要做的就是删除圆圈周围的边框,并设置颜色和字体的格式。但是,还是没有做太多。

能否分享一些有用的示例?

查看 VennThemes 以更改图中的参数。例如:

library(Vennerable)

    srl.venn <- Venn(SetNames=c("Cognitive condition","Operations","Individual differences"),
                     Weight=c(0,30, 21, 15, 1, 8, 3, 6))

    srl.venn.c <- compute.Venn(srl.venn, doWeights=T)
    gp <- VennThemes(srl.venn.c, colourAlgorithm = "binary")

    plot(srl.venn.c, gpList = gp, show = list(FaceText = "signature", SetLabels = FALSE,
                         Faces = FALSE,  DarkMatter = FALSE))

可以在手册页或调用 vignette("Venn")

中找到更多详细信息