en_data: Fetch data

Description Usage Arguments Value References Examples

Description

Fetch data

Usage

1
en_data(id = NULL, result = NULL, format = "xml", ...)

Arguments

id

(character) Ids of various sorts, combine in a vector for > 1

result

(character) result option, one of: sequence_release, assembly, ...

format

(character) data format, one of xml (default), fasta, text, fastq

...

Curl options passed to GET

Value

object of class xml_document

References

http://www.ebi.ac.uk/ena/browse/data-retrieval-rest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
en_data(id = 'Taxon:4235')
en_data(id = c('Taxon:4235', 'Taxon:6543'))
en_data(id = 'A00145', format = "fasta")
en_data(id = 'A00145', format = "fastq")
en_data(id = 'A00145', format = "text")
## not working right now
# taxa <- c('Taxon:Human', 'Taxon:Cat', 'Taxon:Mouse', 'Taxon:Zebrafish')
# en_data(id = taxa)

## End(Not run)

sckott/egnar documentation built on May 29, 2019, 3:59 p.m.