Get links to datasets related to an unique ID from an NCBI database

Usage

entrez_link(db, ids, ...)

Arguments

db
character Name of the database to search for
ids
integer Id(s) for which data is being collected
...
character Additional terms to add to the request

Value

A list containing vectords of unique IDs from different databases. the lists are name [db_from]_[db_to]

file XMLInternalDocument xml file resulting from search, parsed with xmlTreeParse

Description

Contstructs a url with the given arguments, and downloads xml record returned by that url. See the package-level documentation for general advice on using the EUtils functions.

Examples

pubmed_search <- entrez_search(db="pubmed", term="Dwarf Elephant", retmax=1) other_data <- entrez_link(db="all", ids=pubmed_search$ids, dbfrom="pubmed")