variants: Retrieve variantion features

variantsR Documentation

Retrieve variantion features

Description

Extract the annotated variants from a GenBankRecord object

Usage

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

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

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