plot_plasmid: Plot a Plasmid

View source: R/plot.R

plot_plasmidR Documentation

Plot a Plasmid

Description

Create a {ggplot2} plot of a plasmid in polar coordinates. Extracts the features as a data.frame from the plasmid and uses these to construct arrows that are added to the plot.

Usage

plot_plasmid(plasmid, name = "Plasmid Name", label_wrap = 20)

Arguments

plasmid

A list of class 'plasmid' created through read_gb().

name

Name of the plasmid, to be shown in the center.

label_wrap

Passed to stringr::str_wrap() to wrap the long labels.

Value

A ggplot object.


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