hpaDownload {HPAanalyze} | R Documentation

## Download datasets

### Description

Download the latest version of HPA datasets and import them in R. It is recommended to only download the datasets you need, as some of them may be very big.

### Usage

    hpaDownload(downloadList = "histology", version = "latest")

### Arguments

`downloadList` | A vector or string indicate which datasets to download. Possible value: `'Normal tissue'` `'Pathology'` `'Subcellular location'` `'RNA tissue'` `'RNA cell line'` `'RNA transcript tissue'` `'RNA transcript cell line'` `'all'`: download everything `'histology'`: same as `c('Normal tissue', 'Pathology', 'Subcellular location')` `'rna'`: same as `c('RNA tissue', 'RNA cell line')` `'isoform'`: same as `c('RNA transcript tissue', 'RNA transcript cell line')` See https://www.proteinatlas.org/about/download for more information.
`version` | A string indicate which version to be downloaded. Possible value: `'latest'`: Download latest version. Require Internet connection. `'example'`: Load the example dataset from 'HPA analyze' ('hpa_histology_data'). Does not contain rna or isoform data. `'v?'` with '?' is a integer: Download a specific version of the dataset. For example: 'v18' download version 18. Currently support version 17 and above. Require Internet connection.

### Value

This function will return a list of tibbles corresponding to requested datasets.

### See Also

`hpaDownload` `hpa_histology_data`

Other downloadable datasets functions: `hpaExport()`, `hpaSubset()`

### Examples

      downloadedData <- hpaDownload(downloadList='all', version='example')
      summary(downloadedData)

[Package HPAanalyze version 1.8.1 Index]