multintersect.test: multintersect.test

Description Usage Arguments Value Examples

View source: R/multintersect.R

Description

Tests the significance of an overlap across multiple sets using permutations.

Usage

1
multintersect.test(ll, u, nperm = 2000, two.tailed = FALSE)

Arguments

ll

A list of sets.

u

The universe.

nperm

The number of permutations to use.

two.tailed

Whether the test should be two-tailed (defaults to testing a greater alternative)

Value

A p-value, with precision roughly 1/nperm

Examples

1
2
3
# create random sets
ll <- lapply(1:3,FUN=function(x) sample(letters, 8))
multintersect.test(ll, u=letters)

plger/overlapper documentation built on Feb. 28, 2021, 10:57 p.m.