efetch2 | R Documentation |
Retrieve Entrez database records at NCBI in a variety of formats code from Chris Stubben's genomes2 package modified by Jean Elbers https://github.com/cstubben/genomes2/blob/master/R/efetch.R
efetch2(id, db = "pubmed", rettype = "", retmode = "text",
showURL = FALSE, destfile, ...)
id |
An EntrezHistory object or vector of Ids |
db |
An Entrez database, default pubmed |
rettype |
Retrieval type, see note for details |
retmode |
Retrieval mode, see note for details |
showURL |
display URL string |
destfile |
location to save downloaded file using download.file. If missing, the url is loaded into R using readLines |
... |
Other key-value pairs passed to the efetch url string, e.g seq_stop |
Returns efetch query
efetch.out <- efetch2(input.R.object.split[[i]], "nucleotide", "gb", "xml")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.