Skip to content

Short #2

Description

@SmalJonni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions