intersect {SuperExactTest}R Documentation

Set Operations

Description

Performs set union and intersection on multiple input vectors.

Usage

union(x, y, ...)
intersect(x, y, ...)

Arguments

x, y, ...

vectors (of the same mode) containing a sequence of items (conceptually) with no duplicated values.

Details

These functions extend the the same functions in the base package to handle more than two input vectors.

Value

A vector of the same mode as x or y for intersect, and of a common mode for union.

Author(s)

Minghui Wang <minghui.wang@mssm.edu>, Bin Zhang <bin.zhang@mssm.edu>

References

Minghui Wang, Yongzhong Zhao, and Bin Zhang (2015). Efficient Test and Visualization of Multi-Set Intersections. Scientific Reports 5: 16923.

Examples

##not run##

[Package SuperExactTest version 1.1.0 Index]