gb_record_get | R Documentation |
Return the entire GenBank record for an accession ID.
Equivalent to rettype='gb'
in rentrez::entrez_fetch()
.
gb_record_get(id)
id |
character, sequence accession ID(s) |
named vector of records, if no results found NULL
ncbi_acc_get()
Other get:
gb_definition_get()
,
gb_fasta_get()
,
gb_organism_get()
,
gb_sequence_get()
,
gb_version_get()
library(restez)
restez_path_set(filepath = tempdir())
demo_db_create(n = 5)
(rec <- gb_record_get(id = 'demo_1'))
(recs <- gb_record_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.