draw_venn.Rd
utility function to draw Venn diagram of two or three character vectors. User need to specify category names and file name to store png file.
draw_venn(x, cat.name, f.name)
x | A list of character vectors. |
---|---|
cat.name | A character vector of category names |
f.name | A string. output file name. |
A png file. Venn Diagram of two or three sets
Seongyong Park (2020-08-18)
x1 = as.character(c(1:5)) x2 = as.character(c(3:10)) draw_venn(list(x1, x2), cat.name=c("x1", "x2"), f.name="test.venn.png")#> [1] 1