hyperGTest with org.Sc.sgd.db problem
1
0
Entering edit mode
7.9 years ago
andrejk • 0

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.6k views
ADD COMMENT
0
Entering edit mode
ADD COMMENT

Login before adding your answer.

Traffic: 4027 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6