read_gb: Read a '.gb' GenBank File

View source: R/get.R

read_gbR Documentation

Read a .gb GenBank File

Description

Read a .gb GenBank File

Usage

read_gb(file)

Arguments

file

File path or connection, that can be handled by readr::read_lines().

Value

a list of class 'plasmid' which can be further coerced for plotting.

Examples


fl <- system.file("extdata", "petm20.gb", package = "plasmapR")

fl |>
  read_gb() |>
  as.data.frame()

BradyAJohnston/plasmapR documentation built on June 30, 2023, 5:28 p.m.