Learn R Programming

reutils (version 0.2.2)

linkset: linkset

Description

Retrieve a linkset from an elink object.

Usage

linkset(x, linkname = NULL, ...)
"linkset"(x, linkname = NULL, ...)
"linkset"(x, linkname = NULL, ...)

Arguments

x
An elink object.
linkname
(optional) Name of the Entrez link to retrieve. Every link in Entrez is given a name of the form dbFrom_dbTo_subset. If NULL, all available links are retrieved from the object.
...
Further arguments passed on to methods.

Value

A list.

Methods (by class)

  • entrez_linkset:
  • elink:

Examples

Run this code
## Not run: 
# ## Find related articles to PMID 20210808 and xtract linked UIDs from the
# ## "pubmed" to "pubmed_reviews" link
# x <- elink("20210808", dbFrom = "pubmed", dbTo = "pubmed", cmd = "neighbor_score")
# linkset(x, "pubmed_pubmed_reviews")
# ## End(Not run)

Run the code above in your browser using DataLab