enrichment_geneSet {scsR} | R Documentation |
Computes the hypergeometric p-value that represents the enrichment of genesetA with genes of the genesetB.
enrichment_geneSet(genesetA, genesetB, background=NULL, quiet=FALSE)
genesetA |
vector of sorted genes (vector of strings) |
genesetB |
vector of sorted genes (vector of strings) |
background |
vector of genes to be used as background (vector of strings) |
quiet |
avoid print any message/warning (boolean) |
the hypergeometric p-value that represents the enrichment of genesetA with genes of the genesetB. (integer)
Andrea Franceschini
data(uuk_screen) data(uuk_screen_dh) enrichment_geneSet(unique(uuk_screen$GeneID)[1:200], unique(uuk_screen_dh$GeneID)[1:400], intersect(uuk_screen$GeneID, uuk_screen_dh$GeneID))