hpaXmlGet | R Documentation |
Download and import individual xml file for a specified protein. This
function calls xml2::read_xml()
under the hood. It is important to
note that the data that HPA provides on their website and through xml files
are not one-to-one equivalents.
hpaXmlGet(targetEnsemblId, version = "latest")
targetEnsemblId |
A string of one ensembl ID, start with ENSG. For
example |
version |
A string indicate which version to be downloaded. Possible value:
|
This function return an object of class "xml_document"
"xml_node"
containing the content of the imported XML file. (See
documentations for package xml2
for more information.)
Other xml functions:
hpaXmlAntibody()
,
hpaXmlProtClass()
,
hpaXmlTissueExprSum()
,
hpaXmlTissueExpr()
,
hpaXml()
## Not run:
GCH1xml <- hpaXmlGet('ENSG00000131979')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.