ggVennDiagram (version 0.3)

ggVennDiagram: ggVennDiagram

Description

ggVennDiagram

Usage

ggVennDiagram(x, category.names = names(x), n.sides = 3000,
  label = "both", lty = 1, color = "grey", ...)

Arguments

x

list of items

category.names

default is names(x)

n.sides

set how many points been generated for one ellipse, the more points, the better resolution.

label

select one from c("count","percent","both")

lty

line type of polygons

color

line color of polygons

...

Other arguments passed on to the polygon layer.

Value

A ggplot object

Examples

Run this code
# 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