txdb: Create a TxDb from a GenBank record

makeTxDbFromGenBankR Documentation

Create a TxDb from a GenBank record

Description

Create a TxDb object from a GenBankRecord.

Usage

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

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

gmbecker/genbankr documentation built on Oct. 30, 2023, 9:24 a.m.