draw_venn: Draw Venn Diagram of two or three character vectors

View source: R/utils.R

draw_vennR Documentation

Draw Venn Diagram of two or three character vectors

Description

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.

Usage

draw_venn(x, cat.name, f.name)

Arguments

x

A list of character vectors.

cat.name

A character vector of category names

f.name

A string. output file name.

Value

A png file. Venn Diagram of two or three sets

Author(s)

Seongyong Park (2020-08-18)

Examples

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")

psychemistz/ovltools documentation built on April 1, 2022, 2:26 a.m.