make.venn.pairs: Helper for Venn diagrams

Description Usage Arguments Value Author(s) Examples

View source: R/metaseqr.plot.R

Description

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.

Usage

1

Arguments

algs

a vector with the names of the sets (up to length 5, if larger, it will be truncated with a warning).

Value

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.

Author(s)

Panagiotis Moulos

Examples

1
2
sets <- c("apple","pear","banana")
pairs <- make.venn.pairs(sets)

pmoulos/metaseqr documentation built on Dec. 29, 2020, 5:56 a.m.