rempsyc
rempsyc

Reputation: 1018

VennDiagram: How to hide % overlap labels?

Using the VennDiagram package, I would like to hide some, but not all, percentage overlap labels. For example, in the case below, I would like to keep 55, but remove the two 45 labels:

draw.pairwise.venn(100,100,55)

enter image description here

How can I do that using VennDiagram package? If it's not possible directly, how to edit the plot afterward (ggplot2 or else)? Thanks.

Upvotes: 2

Views: 530

Answers (1)

dc37
dc37

Reputation: 16178

Probably not the most elegant way, but you can set colors for labels using label.col:

library(VennDiagram)
draw.pairwise.venn(100,100,55, label.col = c("white","black","white"))

enter image description here

Upvotes: 3

Related Questions