Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Short #2

Open
SmalJonni opened this issue Sep 16, 2022 · 1 comment
Open

Short #2

SmalJonni opened this issue Sep 16, 2022 · 1 comment

Comments

@SmalJonni
Copy link

Hi,

I am currently getting an exeption Error in FUN(X[[i]], ...) : object 'name' not found when trying to plot a plasmid containing only short features/arrows.

You should be able to replicate the error with your own test file test.gb in this repository:

library(plasmapR)
plasmid <- parse_plasmid("test.gb")
plasmid$features<-plasmid$features[1,] #Extract one short features
p <- render_plasmap(plasmid,
                    rotation = 45)
p

The error is produced in the plasmid_plot function, calling ggfittext::geom_fit_text that is unable to handle an empty labels$curved object

Thank you for your work on this package.
Regards

@BradyAJohnston
Copy link
Owner

Hello! Thanks for the error report. I don't know if I'll have time to look into this over the coming month or so, but I'll certainly look into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants