Gene Ontology - HyperGTest : Finding Significant terms
1
0
Entering edit mode
@edward-bolanger-2055
Last seen 10.3 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070225/ 0b1eb06c/attachment.pl
• 487 views
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 10.3 years ago
Hi Edward, Edward Bolanger <ebolanger at="" yahoo.com=""> writes: > Thanks for the reply and the helpful advice. I looked at some of the > functions in GOstats and these are perhaps the ones that I > need. Specifically, I am trying to use the 'HyperGTest' function. I > was looking at the document titled 'How To Use GOstats Testing Gene > Lists for GO Term Association' to setup a new instance of > GoHyperGParam'. The documentation says:'If you are using the YEAST > annotation package, the vector will consist of FIXME.' Sorry for that. > I'm not quite sure what I should put here. I tried using systemic > names (e.g YER111C) for yeast genes but got the following error > message: I'm pretty sure you want to use the systematic names for these IDs when using the YEAST package. These are the IDs used as the keys in the mappings in that annotation package. >> params <- new("GOHyperGParams", geneIds = clust2, > + universeGeneIds = allGenes2, annotation = "YEAST", ontology > + = "BP", pvalueCutoff = hgCutoff, conditional = FALSE, testDirection > + = "over") >> hgOver <- hyperGTest(params) > Error in getUniverseHelper(probes, lib, entrezIds) : No Entrez Gene > ids left in universe It is possible that you have used the correct IDs, but that there aren't any annotations in GO BP... Here is an example that works for me: library("GOstats") library("YEAST") set.seed(434) allYeast <- ls(YEASTCHR) selGenes <- sample(allYeast, 80) p <- new("GOHyperGParams", geneIds=selGenes, universeGeneIds=allYeast, ontology="BP", annotation="YEAST", pvalueCutoff=0.05, testDirection="over", conditional=FALSE) ans <- hyperGTest(p) + seth
ADD COMMENT
0
Entering edit mode
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070225/ fe33cc37/attachment.pl
ADD REPLY

Login before adding your answer.

Traffic: 614 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