[,efetch,character,missing-method {reutils} | R Documentation |
EFetch accessors
Description
Extract XML nodes from an efetch
object.
Usage
## S4 method for signature 'efetch,character,missing'
x[i, j]
## S4 method for signature 'efetch,character'
x[[i]]
Arguments
x |
An |
i |
An XPath expression specifying the XML nodes to extract. |
j |
Ignored. |
Value
An XML node set.
Examples
## Not run:
p <- efetch("195055", "protein", "gp", "xml")
p['//GBFeature[GBFeature_key="mat_peptide"]//GBQualifier_value']
## End(Not run)
[Package reutils version 0.2.3 Index]