make.venn.pairs {metaseqR} | R Documentation |
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.
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
sets <- c("apple","pear","banana") pairs <- make.venn.pairs(sets)