View source: R/minimalistGODB.R
buildGODatabaseDriver | R Documentation |
driver to build multiple GO databases for many species
buildGODatabaseDriver(goaDir, gobasic, dir = NULL, verbose = FALSE)
goaDir |
character string path name to directory containing downloaded goa .gaf files |
gobasic |
character string path name to downloaded go-basic.obo |
dir |
character string path name to directory to hold species database subdirectories |
verbose |
Boolean if TRUE print out some diagnostic info |
download goa .gaf files from https://current.geneontology.org/products/pages/downloads.html download go-basic.obo from https://geneontology.org/docs/download-ontology/
The output GOGOA3 was saved as an .RData file. This was too large for CRAN. It is available from https://github.com/barryzee/GO/tree/main/databases
returns GO database with columns c("HGNC","GO","RELATION","NAME","ONTOLOGY")
## Not run:
# replace my path names for goa and gobasic with your own!!
# these were obtained from the download sites listed in 'details' section
goaDir<-"/Users/barryzeeberg/Downloads/gaf/"
gobasic<-"~/go-basic.obo"
buildGODatabaseDriver(goaDir,gobasic,dir="~/personal",verbose=TRUE)
## End(Not run)
# here is a small example that you can run
goaDir<-system.file("extdata",package="minimalistGODB")
gobasic<-system.file("extdata","go-basic.small.obo",package="minimalistGODB")
dir<-tempdir()
buildGODatabaseDriver(goaDir,gobasic,dir,verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.