hpaXmlTissueExprSum: Extract tissue expression and download images

Description Usage Arguments Value See Also Examples

View source: R/xml.R

Description

Extract tissue expression information and url to download images from imported xml document resulted from hpaXmlGet().

Usage

1
hpaXmlTissueExprSum(importedXml, downloadImg = FALSE)

Arguments

importedXml

Input an xml document object resulted from a hpaXmlGet() call.

downloadImg

Logical argument. The function will download all image from the extracted urls into the working folder.

Value

This function return a list consists of a summary string, which is a very brief description of the protein, and a tibble of 2 columns: tissue (name of tissue available) and imageUrl (link to download the perspective image)

See Also

Other xml functions: hpaXmlAntibody(), hpaXmlGet(), hpaXmlProtClass(), hpaXmlTissueExpr(), hpaXml()

Examples

1
2
3
4
5
## Not run: 
  GCH1xml <- hpaXmlGet('ENSG00000131979')
  hpaXmlTissueExprSum(GCH1xml)

## End(Not run)

HPAanalyze documentation built on Nov. 26, 2020, 2:01 a.m.