venn: Plot a general venn (upset, flower)

View source: R/plots.R

vennR Documentation

Plot a general venn (upset, flower)

Description

Plot a general venn (upset, flower)

Usage

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","upset","flower"

elements_label

logical, show elements label in network?

otutab

table

Value

a plot

a plot

a plot

Examples


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


pcutils documentation built on June 26, 2024, 1:06 a.m.