powered by
ggVennDiagram
ggVennDiagram( x, category.names = names(x), show_intersect = FALSE, n.sides = 3000, label = "both", label_alpha = 0.5, label_geom = geom_label, lty = 1, color = "grey", ... )
list of items
default is names(x)
whether add a hidden text to polygons in the plot, the text can be further visualized by `plotly::ggplotly()`
set how many points been generated for one ellipse, the more points, the better resolution.
select one from c("count","percent","both")
set 0 to remove label background
choose from geom_label and geom_text
line type of polygons
line color of polygons
Other arguments passed on to the polygon layer.
A ggplot object
# NOT RUN { library(ggVennDiagram) 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