entrez_fetch: Download data from NCBI databases

Description Usage Arguments Value Examples

View source: R/entrez_fetch.r

Description

Download data from NCBI databases

Usage

1
  entrez_fetch(db, rettype, retmode = "text", ...)

Arguments

db

character Name of the database to use

rettype

character Format in which to get data (eg, fasta, xml...)

retmode

character Mode in which to recieve data, defaults to 'text'

...

character Additional terms to add to the request

Value

chracter string containing the file created

Examples

1
2
3
4
5
6
## Not run: 
   katipo <- "Latrodectus katipo[Organism]"
   katipo_search <- entrez_search(db="nuccore", term=katipo)
   kaitpo_seqs <- entrez_fetch(db="nuccore", ids=katipo_search$ids, format="fasta")

## End(Not run)

rentrez documentation built on May 2, 2019, 6:12 p.m.