gb_organism_get: Get organism from GenBank

Description Usage Arguments Value See Also Examples

View source: R/gb-get-tools.R

Description

Return the organism name for an accession ID.

Usage

1

Arguments

id

character, sequence accession ID(s)

Value

named vector of definitions, if no results found NULL

See Also

Other get: gb_definition_get, gb_fasta_get, gb_record_get, gb_sequence_get, gb_version_get

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(restez)
restez_path_set(filepath = tempdir())
demo_db_create(n = 5)
restez_connect()
(org <- gb_organism_get(id = 'demo_1'))
(orgs <- gb_organism_get(id = c('demo_1', 'demo_2')))


# delete demo after example
db_delete(everything = TRUE)

restez documentation built on Nov. 27, 2018, 1:05 a.m.