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