Description Usage Arguments Value See Also Examples
Get sequence and definition data in FASTA format. Equivalent to
rettype='fasta'
in entrez_fetch
.
1 | gb_fasta_get(id, width = 70)
|
id |
character, sequence accession ID(s) |
width |
integer, maximum number of characters in a line |
named vector of fasta sequences, if no results found NULL
Other get: gb_definition_get
,
gb_organism_get
,
gb_record_get
,
gb_sequence_get
,
gb_version_get
1 2 3 4 5 6 7 8 9 10 | library(restez)
restez_path_set(filepath = tempdir())
demo_db_create(n = 5)
restez_connect()
(fasta <- gb_fasta_get(id = 'demo_1'))
(fastas <- gb_fasta_get(id = c('demo_1', 'demo_2')))
# delete demo after example
db_delete(everything = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.