[,esummary,character,ANY-method {reutils} | R Documentation |
Extract XML nodes from an esummary
object.
## S4 method for signature 'esummary,character,ANY'
x[i]
## S4 method for signature 'esummary,character'
x[[i]]
x |
An |
i |
An XPath expression. |
An XML node set.
## Not run:
ds <- esummary("470338", "protein")
ds["//Slen/node()"]
as.numeric(XML::xmlValue(ds[["//Slen"]]))
## End(Not run)