calculate.overlap: Calculate Overlap

Description Usage Arguments Details Value Author(s) Examples

View source: R/venn.diagram.R

Description

Determine the groupings of values as they would be presented in the venn diagram.

Usage

1

Arguments

x

A list of vectors (e.g., integers, chars), with each component corresponding to a separate circle in the Venn diagram

Details

This function mostly complements the venn.diagram() function for the case where users want to know what values are grouped into the particular areas of the venn diagram.

Value

Returns a list of lists which contain the values assigned to each of the areas of a venn diagram.

Author(s)

Christopher Lalansingh

Examples

1
2
3
4
5
6
7
8
9
# A simple single-set diagram
cardiome <- letters[1:10]
superset <- letters[8:24]
overlap <- calculate.overlap(
	x = list(
		"Cardiome" = cardiome,
		"SuperSet" = superset
		)
	);

Example output

Loading required package: grid
Loading required package: futile.logger

VennDiagram documentation built on Oct. 30, 2021, 5:06 p.m.