This is a test version of Biostars. For the public version, visit https://www.biostars.org.
hyperGTest with org.Sc.sgd.db problem

I try to annotate ENTREZID identifiers with GO categories and apply hyperGTest() function. Using the following example from https://support.bioconductor.org/p/64862/ everything works fine:

library(org.Sc.sgd.db)
univ <- unique(keys(org.Sc.sgd.db))
genes <- univ[sample(1:length(univ), 250)]
p <- new("GOHyperGParams", geneIds = genes, universeGeneIds = univ, ontology = "BP", annotation = "org.Sc.sgd.db")
hyp <- hyperGTest(p)
head(summary(hyp))

I have no idea what are keys in the presented example. How can I instead use ENTREZID identifiers as keys in my testing?

r bioconductor go

1 answer

Try this tool,

Gene Set Clustering based on Functional annotation (GeneSCF)

Log in to answer this question.