siteoverlap: siteoverlap

View source: R/tests.R

siteoverlapR Documentation

siteoverlap

Description

Applies Fisher's test to the number of binding sites among a set of features (vs all other binding sites in that set of features). Of note, this application violates the assumptions of Fisher's exact test.

Usage

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

Arguments

signal

A named logical vector indicating which features are differentially-expressed

sets

A data.frame with at least the following columns: 'set', 'feature', 'sites'.

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.