overlap | R Documentation |
Traditional overlap (Fisher test) between a logical signal (e.g. differentially-expressed features) and the elements of sets.
overlap(signal, sets, alternative = c("greater", "less", "two.sided"))
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) |
a data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.