geoLookup: ## Look up basic experiment and platform information from GEO...

Description Usage Arguments Value Author(s) Examples

Description

This function uses recursion to handle multiple identifiers, so very large number of identifiers might consume appreciable memory. Function by Levi Waldron.

Usage

1
geoLookup(id, con = NULL)

Arguments

id

A character string of one or more GSE or GDS identifiers. Optionally, a platform can be specified by appending it to the series identifier, separated by a hyphen, eg: GSE1722-GPL96.

con

Connection to a GEOmetadb SQLite database. Will be created if not provided.

Value

If one ID is provided, a character vector of platform and series information retrieved through GEOmetadb. If multiple IDs are provided, a matrix with one row per ID.

Author(s)

Levi Waldron and Markus Riester

Examples

1
2
3
4
5
6
7
8
## Takes too long to run for the first time in an example, because
## the sqlite file containing all GEO metadata has to be downloaded.
if( interactive() ){
    geoLookup("GSE100")
    geoLookup("GSE1722-GPL96")
    geoLookup("GSE1722-GPL1384")
    geoLookup(c("GSE1722-GPL96", "GSE1722-GPL1384", "GSE100"))
}

lwaldron/LeviRmisc documentation built on May 21, 2019, 8:59 a.m.