AnnotationDbi: merge database and GO terms
0
0
Entering edit mode
4.7 years ago

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 • 936 views
ADD COMMENT

Login before adding your answer.

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