download {slinky} | R Documentation

## download

### Description

Convenience function to retrieve LINCS L1000 data and metadata files.

### Usage

    download(x, type = c("expression", "info", "readme"), level = 3,
      phase = 1, prompt = FALSE, verbose = FALSE)

    ## S4 method for signature 'Slinky'
    download(x, type = c("expression", "info", "readme"),
      level = 3, phase = 1, prompt = FALSE, verbose = FALSE)

### Arguments

`x` | A Slinky object
`type` | Type of file to retrieve: expression, info (instance level), or readme file.
`level` | Level of data desired (if type is expression): 2, 3 (default), 4, or 5.
`phase` | What phase of data is desired, 1 of 2? Currently only 1 is supported. Phase 2 files may be used with this package, but must be downloaded manually. Phase 2 support planned for next update.
`prompt` | Warn before downloading huge files? Default is FALSE.
`verbose` | Do you want to know how things are going? Default is FALSE.

### Value

None

### Note

Most of these files are very large and may take many minutes to several hours to download. A fast and reliable connection is highly recommended.

### Examples

    # for build/demo only.  You MUST use your own key when using the slinky
    # package.
    sl <- new("Slinky")
    ## Not run:
    download(sl, type = "info")

    ## End(Not run)

[Package slinky version 1.0.2 Index]