Create a TxDb from a GenBank record

Share:

Description

Create a TxDb object from a GenBankRecord.

Usage

1
2
3
4
5
6
7
makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

## S4 method for signature 'GenBankRecord'
makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

## S4 method for signature 'GBAccession'
makeTxDbFromGenBank(gbr, reassign.ids = FALSE)

Arguments

gbr

A GenBankRecord or GBAccession object

reassign.ids

logical. Passed down to makeTxDb

Value

A TxDb object

Examples

1
2
thing = readGenBank(system.file("unitTests/compjoin.gbk", package="genbankr"))
tx = makeTxDbFromGenBank(thing)