hpaXml {HPAanalyze} | R Documentation

## Extract details about an individual protein from XML file in one function

### Description

This function is the umbrella function for the hpaXml function family. It take the input of either one Ensembl gene id or a imported XML object resulting from a `hpaXmlGet()` function call. By default, it will extract all information available for HPAanalyze user from the XML file by calling every hpaXml function and put all results into a list.

### Usage

    hpaXml(
      inputXml,
      extractType = c("ProtClass", "TissueExprSum", "Antibody", "TissueExpr"),
      ...
    )

### Arguments

`inputXml` | Input can be either one Ensembl gene id (start with ENSG) or a imported XML object resulting from a `hpaXmlGet()` function call. You can also use HGNC gene symbol and it will be converted to ensembl id.
`extractType` | A vector of strings indicate which information is desired for extraction. By default this function will call all `hpaXml` functions available. Other options are `'ProtClass'`, `'TissueExprSum'`, `'Antibody'`, `'TissueExpr'`.
`...` | Additional arguments to be passed downstream to other hpaXml functions being called behind the scene. See help files of other hpaXml functions for more information.

### Value

This function returns a list. Each element of the list is information extracted from the XML file specified using other hpaXml functions. See help file for each XML function for more information.

### See Also

Other xml functions: `hpaXmlAntibody()`, `hpaXmlGet()`, `hpaXmlProtClass()`, `hpaXmlTissueExprSum()`, `hpaXmlTissueExpr()`

### Examples

      hpaXml(inputXml='ENSG00000131979', extractType=c('ProtClass', 'TissueExprSum', 'Antibody'))

[Package HPAanalyze version 1.4.3 Index]