gb_definition_get {restez} | R Documentation |
Get definition from GenBank
Description
Return the definition line for an accession ID.
Usage
gb_definition_get(id)
Arguments
id |
character, sequence accession ID(s) |
Value
named vector of definitions, if no results found NULL
See Also
Other get:
gb_fasta_get()
,
gb_organism_get()
,
gb_record_get()
,
gb_sequence_get()
,
gb_version_get()
Examples
library(restez)
restez_path_set(filepath = tempdir())
demo_db_create(n = 5)
(def <- gb_definition_get(id = 'demo_1'))
(defs <- gb_definition_get(id = c('demo_1', 'demo_2')))
# delete demo after example
db_delete(everything = TRUE)
[Package restez version 2.1.4 Index]