getEnrichmentFactor | R Documentation |
Enrichment factor represents the "enrichment" of overlap between two sets in a given space. This is calculated as (observed count) / (expected count).
getEnrichmentFactor(setA, setB, setT, psc = 0)
setA |
set input1 as vectors |
setB |
set input2 as vectors |
setT |
total set as vectors |
psc |
pseudocount for when expected count is too low. |
A <- c(1:5)
B <- c(3:7)
total <- c(1:10)
getEnrichmentFactor(A, B, total)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.