linkset: linkset

Description Usage Arguments Value Methods (by class) Examples

Description

Retrieve a linkset from an elink object.

Usage

1
2
3
4
5
6
7
linkset(x, linkname = NULL, ...)

## S4 method for signature 'entrez_linkset'
linkset(x, linkname = NULL, ...)

## S4 method for signature 'elink'
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)

Examples

1
2
3
4
5
6
7
## 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)

reutils documentation built on May 1, 2019, 9:15 p.m.