overlap: overlap

View source: R/tests.R

overlapR Documentation

overlap

Description

Traditional overlap (Fisher test) between a logical signal (e.g. differentially-expressed features) and the elements of sets.

Usage

overlap(signal, sets, alternative = c("greater", "less", "two.sided"))

Arguments

signal

A named logical vector indicating which features are differentially-expressed

sets

A data.frame of annotation, with at least the following columns: 'set', 'feature'. Alternatively, a sparse logical matrix, with sets as columns and features as rows (dimensions must be named).

alternative

Test alternative (defaults to 'greater' to test for over-representation)

Value

a data.frame.


ETHZ-INS/enrichMiR documentation built on July 20, 2024, 12:03 a.m.