R/hyprbg.R

Defines functions hyprbg

Documented in hyprbg

hyprbg <-
function(Sig_in_Paths,uniSig,gns_in_Paths,universe) {
    gns_Notin_Paths <- universe - gns_in_Paths
     phyper(Sig_in_Paths, gns_in_Paths, gns_Notin_Paths,uniSig, lower.tail=FALSE)
}

Try the genomicper package in your browser

Any scripts or data that you put into this service are public.

genomicper documentation built on Feb. 23, 2026, 5:06 p.m.