getBiocPlatformMap: Get mappings between GPL and Bioconductor microarry...

Description Usage Arguments Value Author(s) Examples

View source: R/getBiocPlatformMap.R

Description

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.

Usage

1
getBiocPlatformMap(con, bioc='all')

Arguments

con

Connection to the GEOmetadb.sqlite database

bioc

Character vector of Biocondoctor microarry annotation packages, e.g. c('hgu133plus2','hgu95av2'). 'all' returns all mappings.

Value

A six-column data.frame including GPL title, GPL accession, bioc_package, manufacturer, organism, data_row_count.

Author(s)

Jack Zhu <zhujack@mail.nih.gov>, Sean Davis <sdavis2@mail.nih.gov>

Examples

 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()

GEOmetadb documentation built on Nov. 8, 2020, 7:19 p.m.