Question: AnnotationDbi: merge database and GO terms
0
gravatar for trueflyingsheep
6 days ago by
trueflyingsheep0 wrote:

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'))
ADD COMMENTlink written 6 days ago by trueflyingsheep0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1097 users visited in the last hour