gbk-api: genbankr specific api

Description Usage Arguments Value Examples

Description

Accessor functions specific to genbankr objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
accession(x, ...)

## S4 method for signature 'GenBankRecord'
accession(x)

definition(x, ...)

## S4 method for signature 'GenBankRecord'
definition(x)

locus(x, ...)

## S4 method for signature 'GenBankRecord'
locus(x)

vers(x, ...)

## S4 method for signature 'GenBankRecord'
vers(x)

sources(x, ...)

## S4 method for signature 'GenBankRecord'
sources(x)

Arguments

x

A genbank annotation object

...

unused.

Value

Character vectors for accession and vers

Examples

1
2
3
gb = readGenBank(system.file("sample.gbk", package="genbankr"))
accession(gb)
vers(gb)

genbankr documentation built on Nov. 8, 2020, 7:44 p.m.