ggvennplot: Draw a venn plot using VennDiagram and transform it to...

Description Usage Arguments Author(s) Examples

View source: R/ggvennplot.R

Description

Draw a venn plot using VennDiagram and transform it to ggplot2 object

Usage

1
ggvennplot(data, col = c("#5dcca0", "#ff445d"), delete = TRUE)

Arguments

data

a data frame containing grouping information

col

colour used to draw venn plot, the length is equal to the levels of group

delete

boolean value to delete the original .tiff file, default value id TRUE

Author(s)

Zhonghui Gai

Examples

1
2
3
4
data <- read.csv(file = "genus.Syn.csv", row.names = 1)
#data <- ggvennEx:::vennlist(data)
ggvennplot(data = data, col = c("red", "green", "blue", "orange"))
ggvennplot(data = data[data$group != "3W", ], col = c("red", "blue", "orange"))

ZhonghuiGai/ggvennEx documentation built on Dec. 18, 2021, 9:20 p.m.