hyperGTestCC {categoryCompare} | R Documentation |
Performs the hypergeometric testing for HyperGParamsCC
objects.
hyperGTestCC(p)
p |
A |
This is the heart of categoryCompare, the function that calculates the HyperGeometric statistics for the given categories of annotation for each gene list.
Returns a HyperGResultCC
object
Robert M Flight
HyperGParamsCC
HyperGResultCC
GOHyperGParamsCC
KEGGHyperGParamsCC
GOHyperGResultCC
KEGGHyperGResultCC
require(GO.db) require(org.Hs.eg.db) data(ccData) g10 <- unique(table10$Entrez) testGO <- new("GOHyperGParamsCC", geneIds=g10, universeGeneIds=gUniverse, annotation="org.Hs.eg.db", ontology="CC", conditional=FALSE, testDirection="over",fdr=0, pvalueCutoff = 0.01) # ccHypRes <- hyperGTestCC(testGO) # summary(ccHypRes)