venn4: Four List Venn Diagram

Description Usage Arguments Value Author(s) Examples

View source: R/venn_functions.R

Description

A function that plots a venn diagram of 4 lists. One point is plotted in each region for each record that falls into the corresponding list overlap.

Usage

1
2
3
4
5
6
7
venn4(
  overlap.counts,
  main = NULL,
  num.test.points = 1e+05,
  p.cex = 0.75,
  cex.main = 1
)

Arguments

overlap.counts

A vector of length 2^4 that gives the number of records in each overlap in lexicographic order, i.e. 0000, 0001, 0010, 0011, 0100, etc.

main

the title of the graph

num.test.points

how many test points to generate as potentials to be plotted in the circles.

p.cex

the size of the points to be plotted

cex.main

the size of the title

Value

A venn diagram of the list overlap structure for four lists. Each region of the plot contains points representing each record in that list intersection.

Author(s)

Kristian Lum kl@hrdag.org

Examples

1
2
overlap.counts <- rpois(16, 50)
venn4(overlap.counts, main = "example diagram")

dga documentation built on May 10, 2021, 5:06 p.m.