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.
plot_plasmid(plasmid, name = "Plasmid Name", label_wrap = 20)
A list of class 'plasmid' created through read_gb()
.
Name of the plasmid, to be shown in the center.
Passed to stringr::str_wrap()
to wrap the long labels.
A ggplot object.