This is a test version of Biostars. For the public version, visit https://www.biostars.org.
topGo custom Annotation table

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

topgo enrichmentanalysis customannotation

0 answers

No answers yet.

Log in to answer this question.