munge_dirlist: Returns supplementary file names from Entrez GEO

Description Usage Arguments Value Examples

Description

Replaces GEOquery package getDirlisting function, seems to be faster.

Usage

1

Arguments

x

a character vector of files at Entrez GEO ftp site.

Value

a data frame with columns date, size and suppfile. Date is the supplementary file date, size is filesize in bytes. Suppfile is the supplementary file name.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 

## Download supplementary file name
url <-  "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE81nnn/GSE81555/suppl/"
r <- httr::GET(url)
cont <- httr::content(r, as = "text", encoding = "UTF-8")
suppl_filename <- munge_dirlist(cont)

## Download series matrix file name
url <-  "ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE81nnn/GSE81555/miniml/"
r <- httr::GET(url)
cont <- httr::content(r, as = "text", encoding = "UTF-8")
miniml_filename <- munge_dirlist(cont)


## End(Not run)

tpall/entrezquery documentation built on May 9, 2019, 8:32 a.m.