Description Usage Arguments Value Author(s) Examples
This function creates a list of pairwise comparisons to be performed in order to create an up to 5-way Venn diagram using the R package VennDiagram. Internal use mostly.
1 | make.venn.pairs(algs)
|
algs |
a vector with the names of the sets (up to length 5, if larger, it will be truncated with a warning). |
A list with as many pairs as the comparisons to be made for the construction of the Venn diagram. The pairs are encoded with the uppercase letters A through E, each one corresponding to order of the input sets.
Panagiotis Moulos
1 2 | sets <- c("apple","pear","banana")
pairs <- make.venn.pairs(sets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.