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