linkset {reutils} | R Documentation |
Retrieve a linkset from an elink
object.
linkset(x, linkname = NULL, ...)
## S4 method for signature 'entrez_linkset'
linkset(x, linkname = NULL, ...)
## S4 method for signature 'elink'
linkset(x, linkname = NULL, ...)
x |
An |
linkname |
(optional) Name of the Entrez link to retrieve. Every link in
Entrez is given a name of the form dbFrom_dbTo_subset. If |
... |
Further arguments passed on to methods. |
A list.
entrez_linkset
: Retrieve a linkset from an elink
object.
elink
: Retrieve a linkset
from an elink
object.
## 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)