calc_set_enrichment: Calculate the hypergeometric enrichment for two sets from a...

Description Usage Arguments Value

View source: R/methods-Module.R

Description

Calculate the hypergeometric enrichment for two sets from a population Statisic = log (observed overlap / expected overlap) P value = 1- hypergeometric(observed overlap -1, max(|set1|, |set2|), |genes| - |set1|, min(|set1|, |set2|))

Usage

1
calc_set_enrichment(set1, set2, genes)

Arguments

set1

the first gene set

set2

the second gene set

genes

the population

Value

c(statistic, p value)


YosefLab/VISION documentation built on Sept. 14, 2021, 5:27 p.m.