This is a test version of Biostars. For the public version, visit https://www.biostars.org.
AnnotationDbi: merge database and GO terms

Is there an easy API to merge individual databases and the GO term database? The following seems clumsy.

library(AnnotationDbi)
library(org.Mm.eg.db)
library(GO.db)
library(dplyr)

select(org.Mm.eg.db, gene_symbols, 'GO', 'SYMBOL') %>%
  left_join(select(GO.db, .$GO, 'TERM', 'GOID'), c(GO = 'GOID'))
go enrichment databases bioconductor r

0 answers

No answers yet.

Log in to answer this question.