variants: Retrieve variantion features

Description Usage Arguments Value Examples

Description

Extract the annotated variants from a GenBankRecord object

Usage

1
2
3
4
variants(x)

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

Arguments

x

a GenBankRecord object

Value

A VRanges containing the variations annotated in the source file

Examples

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

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