Learn R Programming

metaseqR (version 1.12.2)

make.venn.counts: 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 are initially NULL. They are filled by the diagplot.venn function. Internal use mostly.

Usage

make.venn.counts(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")
counts <- make.venn.counts(length(sets))

Run the code above in your browser using DataLab