Closed stephenturner closed 1 year ago
I've just pushed a fix to main that solves this issue, so if you reinstall the package it will hopefully work!
I was previously using some copied & pasted code from ggfittext
while I was waiting for an update for the package to be officially release so I have since updated it to use that package which solves the issue.
I don't know how well it will display going to cartesian coordinates. I hadn't originally planned for this display, but happy to help support this kind of display if you have requests.
Thanks for the quick fix. Honestly this does much of what I'd like to do. Between this and David's gggenes I think I have what I need!
library(plasmapR)
fl <- system.file('extdata', 'petm20.gb', package = "plasmapR")
fl |>
read_gb() |>
plot_plasmid(name = "pETM-20") +
ggplot2::coord_cartesian()
I'd like to use this to draw cloning vector constructs. When I run the example and attempt to scale back to cartesian coordinates, I get an error that the
ftt
object isn't found.