Learn R Programming

RVenn (version 1.1.0)

overlap_pairs: Pairwise intersections of many sets.

Description

overlap_pairs returns the pairwise intersections of the sets in a Venn object.

Usage

# S4 method for Venn
overlap_pairs(venn, slice = "all")

Arguments

venn

(Required) A Venn object.

slice

(Optional) The names or the indices of sets of interest. Default is "all", meaning the pairwise intersections will be calculated for all the sets.

Value

A list showing the pairwise intersections of the sets.

Examples

Run this code
# NOT RUN {
venn = Venn(list(letters[1:10], letters[3:12],
                 letters[6:15], letters[9:18]))
overlap_pairs(venn)
overlap_pairs(venn, slice = 1:3)
# }

Run the code above in your browser using DataLab