ggVennDiagram
ggVennDiagram(x, category.names = names(x), n.sides = 3000, label = "both", lty = 1, color = "grey", ...)
list of items
default is names(x)
set how many points been generated for one ellipse, the more points, the better resolution.
select one from c("count","percent","both")
line type of polygons
line color of polygons
Other arguments passed on to the polygon layer.
A ggplot object
# NOT RUN { x <- list(A=1:5,B=2:7,C=3:6,D=4:9) ggVennDiagram(x) # 4d venn ggVennDiagram(x[1:3]) # 3d venn ggVennDiagram(x[1:2]) # 2d venn # }
Run the code above in your browser using DataLab