.hyper_enrichment {hypeR} | R Documentation |
Carry out set enrichment test based on hyper-geometric distribution
.hyper_enrichment(drawn, categories, ntotal = length(unique(unlist(categories))), min.drawsize = 4, mht = TRUE, verbose = FALSE)
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 |
a data.frame with rows indexed by the signature(s) tested