Learn R Programming

genbankr (version 1.0.4)

intergenic: Extract intergenic regions from processed GenBank annotations

Description

Extract the intergenic regions from a set of GenBank annotations.

Usage

"intergenic"(x)

Arguments

x
A GenBankRecord object

Value

A GRanges for the intergenic regions, defined as regions not overlapping any genes defined in the annotations on either strand.

Examples

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

Run the code above in your browser using DataLab