Description Usage Arguments Value Author(s) Examples
View source: R/getBiocPlatformMap.R
Query the gpl table and get GPL information of a given list of Bioconductor microarry annotation packages. Note currently the GEOmetadb does not contains all the mappings, but we are trying to construct a relative complete list.
1 | getBiocPlatformMap(con, bioc='all')
|
con |
Connection to the GEOmetadb.sqlite database |
bioc |
Character vector of Biocondoctor microarry annotation packages, e.g. c('hgu133plus2','hgu95av2'). 'all' returns all mappings. |
A six-column data.frame including GPL title, GPL accession, bioc_package, manufacturer, organism, data_row_count.
Jack Zhu <zhujack@mail.nih.gov>, Sean Davis <sdavis2@mail.nih.gov>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Use the demo GEOmetadb database:
if( !file.exists("GEOmetadb.sqlite") ) {
demo_sqlfile <- getSQLiteFile(destdir = getwd(), destfile = "GEOmetadb.sqlite.gz", type = "demo")
} else {
demo_sqlfile <- "GEOmetadb.sqlite"
}
con <- dbConnect(SQLite(), demo_sqlfile)
getBiocPlatformMap(con)[1:5,]
getBiocPlatformMap(con, bioc=c('hgu133a','hgu95av2'))
dbDisconnect(con)
## Download the full GEOmetadb database:
## Not run: geometadbfile <- getSQLiteFile()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.