Description Usage Arguments Details Value See Also Examples
esummary
performs calls to the NCBI ESummary utility to retrieve document
summaries (DocSums) for a list of primary UIDs or for a set of UIDs stored in the
user's web environment (using the Entrez History server).
1 2 3 4 5 6 7 8 9 10 |
uid |
(Required)
List of UIDs provided either as a character vector, as an
|
db |
(Required only when |
retstart |
Numeric index of the first DocSum to be retrieved (default: 1). |
retmax |
Total number of DocSums from the input set to be retrieved (maximum: 10,000). |
querykey |
An integer specifying which of the UID lists attached
to a user's Web Environment will be used as input to |
webenv |
A character string specifying the Web Environment that
contains the UID list. (Usually obtained directely from objects returned
by previous |
retmode |
Retrieval mode. (default: 'xml', alternative: 'json') |
version |
If "2.0" |
See the official online documentation for NCBI's EUtilities for additional information.
An esummary
object.
content
, getUrl
, getError
,
database
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Retrieve the Document Summary information for a set of
## UIDs frome the Nuccore datanase.
ds <- esummary(c("1060721643", "1060721620", "1060721618"), "nuccore")
ds
## Not run:
## parse the XML into a data frame
df <- content(ds, "parsed")
df
## use XPath expressions to extract nodes of interest
ds['//TaxId/text()']
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.