Plot a general venn (upset, flower)

venn(...)

# S3 method for class 'list'
venn(aa, mode = "venn", elements_label = TRUE, ...)

# S3 method for class 'data.frame'
venn(otutab, mode = "venn", elements_label = TRUE, ...)

Arguments

...

add

aa

list

mode

"venn", "venn2", "euler", "upset", "flower", "network"

elements_label

logical, show elements label in network?

otutab

table

Value

a plot

a plot

a plot

Examples

# \donttest{
if (interactive()) {
  aa <- list(a = 1:3, b = 3:7, c = 2:4)
  venn(aa, mode = "venn")
  venn(aa, mode = "euler")
  venn(aa, mode = "network")
  venn(aa, mode = "upset")
  data(otutab)
  venn(otutab, mode = "flower")
}
# }