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 consensus tissue'

  • 'RNA HPA tissue'

  • 'RNA GTEx tissue'

  • 'RNA FANTOM tissue'

  • 'RNA single cell type'

  • 'RNA single cell type tissue cluster'

  • 'RNA GTEx brain region'

  • 'RNA FANTOM brain region'

  • 'RNA pig brain region'

  • 'RNA pig brain subregion sample'

  • 'RNA mouse brain region'

  • 'RNA mouse brain subregion sample'

  • 'RNA Allen mouse brain region'

  • 'RNA HPA blood cell'

  • 'RNA HPA blood cell sample'

  • 'RNA Monaco blood cell'

  • 'RNA Schmiedel blood cell'

  • 'RNA HPA cell line'

  • 'RNA TCGA cancer sample'

  • 'RNA transcript tissue'

  • 'RNA transcript cell line'

  • 'RNA transcript pig brain'

  • 'RNA transcript mouse brain'

You can also use the following shortcuts:

  • 'all': download everything

  • 'histology': same as c('Normal tissue', 'Pathology', 'Subcellular location')

  • 'rna tissue': same as c('RNA consensus tissue', 'RNA HPA tissue', 'RNA GTEx tissue', 'RNA FANTOM tissue')

  • 'rna cell type': same as c('RNA single cell type', 'RNA single cell type tissue cluster')

  • 'rna brain region': same as c('RNA GTEx brain region', 'RNA FANTOM brain region', 'RNA pig brain region', 'RNA pig brain subregion sample', 'RNA mouse brain region', 'RNA mouse brain subregion sample', 'RNA Allen mouse brain region')

  • 'rna blood cell': same as c('RNA HPA blood cell', 'RNA HPA blood cell sample', 'RNA Monaco blood cell', 'RNA Schmiedel blood cell')

  • 'isoform': same as c('RNA transcript tissue', 'RNA transcript cell line', 'RNA transcript pig brain', 'RNA transcript mouse brain')

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' or 'built-in': Load the built-in histology dataset from 'HPAanalyze' ('hpa_histology_data'). Do not 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='histology', version='example')
  summary(downloadedData)
  
  

[Package HPAanalyze version 1.12.0 Index]