Learn R Programming

metaseqR (version 1.12.2)

make.venn.areas: Helper for Venn diagrams

Description

This function creates a list with names the arguments of the Venn diagram construction functions of the R package VennDiagram and list members the internal encoding (uppercase letters A to E and combinations among then) used to encode the pairwise comparisons to create the intersections needed for the Venn diagrams. Internal use mostly.

Usage

make.venn.areas(n)

Arguments

n
the number of the sets used for the Venn diagram.

Value

  • A named list, see descritpion.

Examples

Run this code
sets <- c("apple","pear","banana")
pairs <- make.venn.pairs(sets)
areas <- make.venn.areas(length(sets))

Run the code above in your browser using DataLab