Hello, I am using topGo for customized background enrichment analysis. i made background file by names of genes and their corresponding GO IDs. I can do fisher's teat and every thing mentioned in the manual. I want my result table correspond to gene name not GO IDs. I found a code to find genes against GO ids
myterms = c("GO:0007610", "GO:0014070", "GO:0045910") mygenes <- genesInTerm(myGOdata, myterms)
for (i in 1:length(myterms)) { myterm <- myterms[i] mygenesforterm <- mygenes[myterm][[1]] mygenesforterm <- paste(mygenesforterm, collapse=',') print(paste("Term",myterm,"genes:",mygenesforterm)) }
i want opposite of it. From gene name to GO ids table. I am new to this. kindly help me.
thank you
# include your problematic code here with any corresponding output
# please also include the results of running the following in an R session
sessionInfo( )
I have some experimental data of a non model organism. Usually for model organisms we use DAVID, Panther etc. We give gene name to the software and they find corresponding GO IDs with functions. This is usually the enrichment analysis for model organisms. I have gene names and Gene ID of a non model organism from an experiment. I made background data from whole genome of the organism using interpro scan. Now like DAVID and Panther software I want GO IDs against the Gene name or Gene IDs. I hope this will help clearing my goal.
OK, so I am completely lost now. In your original post it seemed like you were able to run your GO analysis, but didn't like the output table. But now it seems like you might be stuck generating the list object required to do the GO analysis?
Have you looked at section 4.3 in the topGO vignette? What have you tried? Show code.