.hyper_enrichment {hypeR}R Documentation

Carry out set enrichment test based on hyper-geometric distribution

Description

Carry out set enrichment test based on hyper-geometric distribution

Usage

.hyper_enrichment(drawn, categories,
  ntotal = length(unique(unlist(categories))), min.drawsize = 4,
  mht = TRUE, verbose = FALSE)

Arguments

drawn

One or more sets of 'drawn' items (e.g., genes). Basically, a list of signatures.

categories

list of gene sets (e.g., MSigDB c2)

ntotal

background population, i.e., the total no. of items from which items are supposed to have been drawn

min.drawsize

min no. of drawn items that must be among categories' items

mht

correct for multiple hypothesis testing across multiple 'draws'

verbose

Use false to suppress logs

Value

a data.frame with rows indexed by the signature(s) tested


[Package hypeR version 1.00.0 Index]