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.

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

Arguments

downloadList

A vector or string indicate which datasets to download. Possible value:

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)
#> Length Class Mode #> normal_tissue 6 tbl_df list #> pathology 11 tbl_df list #> subcellular_location 14 tbl_df list