Learn R Programming

reutils (version 0.2.2)

[,esummary,character,ANY-method: ESummary accessors

Description

Extract XML nodes from an esummary object.

Usage

"["(x, i)
"[["(x, i)

Arguments

x
An esummary object.
i
An XPath expression.

Value

An XML node set.

Examples

Run this code
## Not run: 
# ds <- esummary("470338", "protein")
# ds["//Slen/node()"]
# 
# library("XML")
# as.numeric(xmlValue(ds[["//Slen"]]))
# ## End(Not run)

Run the code above in your browser using DataLab