| compute_pairwise | R Documentation |
Orchestrator that returns a ['StatisticsResult-class'] populated with Jaccard, Dice, Overlap Coefficient, Fold Enrichment (square NxN matrices) plus a long-form hypergeometric table with BH-FDR adjustment.
compute_pairwise(
set_names,
inclusive_sizes,
pairwise_intersections,
universe_size
)
set_names |
Ordered character vector of set identifiers (e.g. c("A","B","C")). |
inclusive_sizes |
Named integer vector of inclusive set sizes ('names(inclusive_sizes)' matches 'set_names'). |
pairwise_intersections |
Named list of pair intersection counts. Keys are "set_a|set_b" with set_a appearing earlier in 'set_names' than set_b. |
universe_size |
Hypergeometric universe N (population size). Integer >= 1. |
A ['StatisticsResult-class'] object.
compute_pairwise(
set_names = c("A", "B"),
inclusive_sizes = c(A = 10L, B = 8L),
pairwise_intersections = list("A|B" = 5L),
universe_size = 100L
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.