Learn R Programming

genbankr (version 1.0.3)

variants: Retrieve variantion features

Description

Extract the annotated variants from a GenBankRecord object

Usage

variants(x)

## S3 method for class 'GenBankRecord': variants(x)

Arguments

x
a GenBankRecord object

Value

  • A VRanges containing the variations annotated in the source file

Examples

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

Run the code above in your browser using DataLab